mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-24 07:31:41 +00:00
[PATCH] hrtimers: fix possible use of NULL pointer in posix-timers
Fixup the conversion of posix-timers to hrtimers. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
bc1978d404
commit
b6557fbca8
1 changed files with 2 additions and 1 deletions
|
@ -290,6 +290,7 @@ void do_schedule_next_timer(struct siginfo *info)
|
|||
info->si_overrun = timr->it_overrun_last;
|
||||
}
|
||||
|
||||
if (timr)
|
||||
unlock_timer(timr, flags);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue