[PATCH] hrtimers: fix oldvalue return in setitimer
authorThomas Gleixner <tglx@linutronix.de>
Wed, 1 Feb 2006 11:05:09 +0000 (03:05 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 1 Feb 2006 16:53:12 +0000 (08:53 -0800)
commita16a1c095a2392d49fafea22f3a508e268ef7167
treeee5da8c9f04fe03eac9ab399b00f089748a74ddd
parentb6557fbca805217588a412f391a65ceafcf1a1af
[PATCH] hrtimers: fix oldvalue return in setitimer

This resolves bugzilla bug#5617.  The oldvalue of the timer was read after the
timer was cancelled, so the remaining time was always zero.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/itimer.c