--- ./arch/i386/Kconfig.debug.nmiwd 2005-05-10 16:09:57.000000000 +0400 +++ ./arch/i386/Kconfig.debug 2005-05-17 10:49:03.000000000 +0400 @@ -59,6 +59,14 @@ config 4KSTACKS on the VM subsystem for higher order allocations. This option will also use IRQ stacks to compensate for the reduced stackspace. +config NMI_WATCHDOG + bool "NMI Watchdog" + default y + help + If you say Y here the kernel will activate NMI watchdog by default + on boot. You can still activate NMI watchdog via nmi_watchdog + command line option even if you say N here. + config X86_FIND_SMP_CONFIG bool depends on X86_LOCAL_APIC || X86_VOYAGER --- ./arch/i386/kernel/nmi.c.nmiwd 2005-05-10 18:20:00.000000000 +0400 +++ ./arch/i386/kernel/nmi.c 2005-05-17 10:47:38.000000000 +0400 @@ -34,7 +34,12 @@ #include "mach_traps.h" -unsigned int nmi_watchdog = NMI_NONE; +#ifdef CONFIG_NMI_WATCHDOG +#define NMI_DEFAULT NMI_IO_APIC +#else +#define NMI_DEFAULT NMI_NONE +#endif +unsigned int nmi_watchdog = NMI_DEFAULT; extern int unknown_nmi_panic; static unsigned int nmi_hz = HZ; static unsigned int nmi_perfctr_msr; /* the MSR to reset in NMI handler */