aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/time/tick-oneshot.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2008-09-03 21:36:57 +0000
committerThomas Gleixner <tglx@linutronix.de>2008-09-05 11:11:51 +0200
commitd4496b39559c6d43f83e4c08b899984f8b8089b5 (patch)
tree2d2007eab7942fef1c4dee43f7be24e3bfbcfe62 /kernel/time/tick-oneshot.c
parentclockevents: prevent clockevent event_handler ending up handler_noop (diff)
downloadlinux-dev-d4496b39559c6d43f83e4c08b899984f8b8089b5.tar.xz
linux-dev-d4496b39559c6d43f83e4c08b899984f8b8089b5.zip
clockevents: prevent endless loop in periodic broadcast handler
The reprogramming of the periodic broadcast handler was broken, when the first programming returned -ETIME. The clockevents code stores the new expiry value in the clock events device next_event field only when the programming time has not been elapsed yet. The loop in question calculates the new expiry value from the next_event value and therefor never increases. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/time/tick-oneshot.c')
0 files changed, 0 insertions, 0 deletions