]> err.no Git - linux-2.6/commit
[PATCH] add suspend/resume for timer
authorShaohua Li <shaohua.li@intel.com>
Sat, 3 Sep 2005 22:57:07 +0000 (15:57 -0700)
committerLinus Torvalds <torvalds@evo.osdl.org>
Mon, 5 Sep 2005 07:06:18 +0000 (00:06 -0700)
commitc3c433e4f33afe255389ba3b1a003dc8deb3de9a
tree071304e15e21e0a93c17050000a682f4ae1a98c1
parent57c4ce3cbfba1bb0da7f37b9328a713cbd5d0919
[PATCH] add suspend/resume for timer

The timers lack .suspend/.resume methods.  Because of this, jiffies got a
big compensation after a S3 resume.  And then softlockup watchdog reports
an oops.  This occured with HPET enabled, but it's also possible for other
timers.

Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/time.c
arch/i386/kernel/timers/timer_hpet.c
arch/i386/kernel/timers/timer_pit.c
arch/i386/kernel/timers/timer_pm.c
arch/i386/kernel/timers/timer_tsc.c
include/asm-i386/timer.h