]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] Fix next_timer_interrupt() for hrtimer
authorTony Lindgren <tony@atomide.com>
Sat, 25 Feb 2006 00:46:47 +0000 (16:46 -0800)
committerTony Lindgren <tony@atomide.com>
Sat, 25 Feb 2006 00:46:47 +0000 (16:46 -0800)
commitbd9dac303a140c324ebcefaa799622637c6928eb
treed4abfc53a51c4f707bef75f3361b7e12a6d1f5f5
parent8b50ef63a6a6af410fe45becd61aa390165ef7d3
[PATCH] Fix next_timer_interrupt() for hrtimer

This patch adds support for hrtimer to next_timer_interrupt()
and fixes current breakage.

Function next_timer_interrupt() got broken with a recent patch
6ba1b91213e81aa92b5cf7539f7d2a94ff54947c 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: Tony Lindgren <tony@atomide.com>
include/linux/hrtimer.h
kernel/hrtimer.c
kernel/timer.c