]> err.no Git - linux-2.6/commit
[PATCH] improve timekeeping resume robustness
authorjohn stultz <johnstul@us.ibm.com>
Fri, 14 Jul 2006 07:24:17 +0000 (00:24 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 15 Jul 2006 04:53:54 +0000 (21:53 -0700)
commit3e143475c22036847f898d7e76ba337c1d7dbf6f
tree4bbd8f322f6a1cd43be409393742967234d23151
parent635adb6cd25c8f816c9017a0a0349cd389eafcd3
[PATCH] improve timekeeping resume robustness

Resolve problems seen w/ APM suspend.

Due to resume initialization ordering, its possible we could get a timer
interrupt before the timekeeping resume() function is called.  This patch
ensures we don't do any timekeeping accounting before we're fully resumed.

(akpm: fixes the machine-freezes-on-APM-resume bug)

Signed-off-by: John Stultz <johnstul@us.ibm.com>
Cc: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/timer.c