[PATCH] linux-2.6.0-test5_hangcheck-compile-fix_A0

From: john stultz
Date: Wed Sep 17 2003 - 13:10:18 EST


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



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/