]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/x86/kernel/nmi.c
x86: touch_nmi_watchdog(): reset alert counters for supported nmi_watchdog modes...
[linux-2.6-omap-h63xx.git] / arch / x86 / kernel / nmi.c
index 19f1b95265cfeaf1cb80a569f5d382102ba63413..326a8f4f50f8abb802f45b0c44ace03ff45fa151 100644 (file)
@@ -354,7 +354,8 @@ static DEFINE_PER_CPU(int, nmi_touch);
 
 void touch_nmi_watchdog(void)
 {
-       if (nmi_watchdog > 0) {
+       if (nmi_watchdog == NMI_LOCAL_APIC ||
+               nmi_watchdog == NMI_IO_APIC) {
                unsigned cpu;
 
                /*