]> git.hungrycats.org Git - linux/commit
[PATCH] xtime value may become incorrect
authorVladimir Grouzdev <vladimir.grouzdev@jaluna.com>
Mon, 18 Oct 2004 16:08:10 +0000 (09:08 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 18 Oct 2004 16:08:10 +0000 (09:08 -0700)
commitf871dbd2296a9851d0806c6d0097b4dec6f43f48
treed5d2fd9ef0e3e12ec0c52ae2703dcf2e3328d5df
parent74477c85796fdb19271cf0402910a634980db300
[PATCH] xtime value may become incorrect

The xtime value may become incorrect when the update_wall_time(ticks)
function is called with "ticks" > 1.  In such a case, the xtime variable is
updated multiple times inside the loop but it is normalized only once
outside of the loop.

This bug was reported at:

http://bugme.osdl.org/show_bug.cgi?id=3403

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/timer.c