[PATCH] Fix cpu timers expiration time
authorOleg Nesterov <oleg@tv-sign.ru>
Wed, 26 Oct 2005 16:26:53 +0000 (20:26 +0400)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 26 Oct 2005 22:21:14 +0000 (15:21 -0700)
commit7a4ed937aa44acdeb8c6ba671509dc7b54b09d3a
treeb602abc9445b2c4a10788147c58a28fe1f4e63f7
parente02fd44056dd8077b49b4bd92c5799a75e89cd65
[PATCH] Fix cpu timers expiration time

There's a silly off-by-one error in the code that updates the expiration
of posix CPU timers, causing them to not be properly updated when they
hit exactly on their expiration time (which should be the normal case).

This causes them to then fire immediately again, and only _then_ get
properly updated.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/posix-cpu-timers.c