]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] fix next_timer_interrupt() for hrtimer
authorTony Lindgren <tony@atomide.com>
Mon, 6 Mar 2006 23:42:45 +0000 (15:42 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 7 Mar 2006 02:40:44 +0000 (18:40 -0800)
commit00d54da6eef1076bb9eeab29b5153b04876ffdb9
treec64bc2c254b7fa81b50b11c851fe5c86ecdd83c1
parent1ad079b0db0eee3edc3cb38a899d97ff3de512cb
[PATCH] fix next_timer_interrupt() for hrtimer

Also from Thomas Gleixner <tglx@linutronix.de>

Function next_timer_interrupt() got broken with a recent patch
050c3c8a6d97d30975c8c270d6071d22b181ee39 as sys_nanosleep() was moved to
hrtimer.  This broke things as next_timer_interrupt() did not check hrtimer
tree for next event.

Function next_timer_interrupt() is needed with dyntick (CONFIG_NO_IDLE_HZ,
VST) implementations, as the system can be in idle when next hrtimer event
was supposed to happen.  At least ARM and S390 currently use
next_timer_interrupt().

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/arm/kernel/time.c
include/linux/hrtimer.h
kernel/hrtimer.c
kernel/timer.c