]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
timers: fix TIMER_ABSTIME for process wide cpu timers
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Wed, 11 Feb 2009 10:30:27 +0000 (11:30 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 11 Feb 2009 13:04:21 +0000 (14:04 +0100)
commit4da94d49b2ecb0a26e716a8811c3ecc542c2a65d
treea87980822b2499021f080c2b0235f441b30413cc
parent3fccfd67df79c6351a156eb25a7a514e5f39c4d9
timers: fix TIMER_ABSTIME for process wide cpu timers

The POSIX timer interface allows for absolute time expiry values through the
TIMER_ABSTIME flag, therefore we have to synchronize the timer to the clock
every time we start it.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/sched.h
kernel/posix-cpu-timers.c