]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] x86: fix potential jiffies overflow in timer_resume()
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Mon, 6 Mar 2006 23:42:42 +0000 (15:42 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 7 Mar 2006 02:40:44 +0000 (18:40 -0800)
commit1ad079b0db0eee3edc3cb38a899d97ff3de512cb
treebc06c2cdf607746f8c9858b9771895a02f27a0b2
parentcf43e6a25ff87f160623408933a248a653295186
[PATCH] x86: fix potential jiffies overflow in timer_resume()

i386 timer_resume is updating jiffies, not jiffies_64.  It looks there is a
potential overflow problem.  And jiffies_64 and wall_jiffies should be
protected by xtime_lock.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Cc: john stultz <johnstul@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/time.c