2003-09-17 18:09:17

by john stultz

[permalink] [raw]
Subject: [PATCH] linux-2.6.0-test5_hangcheck-compile-fix_A0

All,
Since monotonic_clock() is not defined on every arch yet, this patch
insures the hangcheck-timer module (currently the only user of
monotonic-clock) is not built where it will not compile.

I know, I know. Ideally monotonic_clock() would be implemented on all
arches, but I've just not had the time. If any of the non x86/x86-64
folks feel bored, drop me a line. It'd be a fairly easy project.

thanks
-john


diff -Nru a/drivers/char/Kconfig b/drivers/char/Kconfig
--- a/drivers/char/Kconfig Wed Sep 17 10:52:55 2003
+++ b/drivers/char/Kconfig Wed Sep 17 10:52:55 2003
@@ -1001,6 +1001,7 @@

config HANGCHECK_TIMER
tristate "Hangcheck timer"
+ depends on X86_64 || X86
help
The hangcheck-timer module detects when the system has gone
out to lunch past a certain margin. It can reboot the system