[PATCH] hpet rtc emulation: add watchdog timer
authorClemens Ladisch <clemens@ladisch.de>
Tue, 26 Sep 2006 06:32:17 +0000 (23:32 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 26 Sep 2006 15:48:54 +0000 (08:48 -0700)
commit1447c27d38faf8fb03d4599e8082e507453ea3cf
tree80134676ddcc63bdfbba86978a7a2d6b2d537e87
parent2514183dff2d5282cb745af34f56d1b98e5b2df8
[PATCH] hpet rtc emulation: add watchdog timer

To prevent the emulated RTC timer from stopping when interrupts are delayed
for too long, disable interrupts around all of the register initialization,
and check that the interrupt handler did not schedule the next interrupt in
the past.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Cc: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Cc: Andi Kleen <ak@muc.de>
Cc: Vojtech Pavlik <vojtech@suse.cz>
Cc: Robert Picco <Robert.Picco@hp.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/time_hpet.c
arch/x86_64/kernel/time.c