Enable IO-APIC-based watchdog by default.
[linux-2.6.git] / linux-2.6-660-nmi-watchdog-default.patch
diff --git a/linux-2.6-660-nmi-watchdog-default.patch b/linux-2.6-660-nmi-watchdog-default.patch
new file mode 100644 (file)
index 0000000..3913754
--- /dev/null
@@ -0,0 +1,12 @@
+diff -Nurb linux-2.6.22-650/include/asm-i386/nmi.h linux-2.6.22-660/include/asm-i386/nmi.h
+--- linux-2.6.22-650/include/asm-i386/nmi.h    2007-07-08 19:32:17.000000000 -0400
++++ linux-2.6.22-660/include/asm-i386/nmi.h    2008-08-12 14:51:44.000000000 -0400
+@@ -33,7 +33,7 @@
+ extern atomic_t nmi_active;
+ extern unsigned int nmi_watchdog;
+-#define NMI_DEFAULT     -1
++#define NMI_DEFAULT     1
+ #define NMI_NONE      0
+ #define NMI_IO_APIC   1
+ #define NMI_LOCAL_APIC        2