mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
posix-timers: do_schedule_next_timer: fix the setting of ->si_overrun
do_schedule_next_timer() sets info->si_overrun = timr->it_overrun_last, this discards the already accumulated overruns. Signed-off-by: Oleg Nesterov <[email protected]> Cc: Mark McLoughlin <[email protected]> Cc: Oliver Pinter <[email protected]> Cc: Roland McGrath <[email protected]> Cc: [email protected] Cc: Andrew Morton <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]>
This commit is contained in:
parent
81d50bb254
commit
54da117492
1 changed files with 1 additions and 1 deletions
|
|
@ -289,7 +289,7 @@ void do_schedule_next_timer(struct siginfo *info)
|
|||
else
|
||||
schedule_next_timer(timr);
|
||||
|
||||
info->si_overrun = timr->it_overrun_last;
|
||||
info->si_overrun += timr->it_overrun_last;
|
||||
}
|
||||
|
||||
if (timr)
|
||||
|
|
|
|||
Loading…
Reference in a new issue