Enable IO-APIC-based watchdog by default.
authorSapan Bhatia <sapanb@cs.princeton.edu>
Tue, 12 Aug 2008 18:53:02 +0000 (18:53 +0000)
committerSapan Bhatia <sapanb@cs.princeton.edu>
Tue, 12 Aug 2008 18:53:02 +0000 (18:53 +0000)
kernel-2.6.spec
linux-2.6-660-nmi-watchdog-default.patch [new file with mode: 0644]

index af976c7..0965d7c 100644 (file)
@@ -181,6 +181,7 @@ Patch620: linux-2.6-620-kdb.patch
 Patch630: linux-2.6-630-sched-fix.patch
 Patch640: linux-2.6-640-netlink-audit-hack.patch
 Patch650: linux-2.6-650-hangcheck-reboot.patch
+Patch660: linux-2.6-660-nmi-watchdog-default.patch
 
 # See also the file named 'sources' here for the related checksums
 # NOTE. iwlwifi should be in-kernel starting from 2.6.24
@@ -386,6 +387,7 @@ KERNEL_PREVIOUS=vanilla
 %ApplyPatch 630
 %ApplyPatch 640
 %ApplyPatch 650
+%ApplyPatch 660
 
 # NetNS conflict-resolving patch for VINI. Will work with patch vini_pl_patch-1 but may
 # break with later patches.
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