aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/kernel/nmi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kernel/nmi.c b/arch/x86/kernel/nmi.c
index 19f1b95265cf..326a8f4f50f8 100644
--- a/arch/x86/kernel/nmi.c
+++ b/arch/x86/kernel/nmi.c
@@ -354,7 +354,8 @@ static DEFINE_PER_CPU(int, nmi_touch);
354 354
355void touch_nmi_watchdog(void) 355void touch_nmi_watchdog(void)
356{ 356{
357 if (nmi_watchdog > 0) { 357 if (nmi_watchdog == NMI_LOCAL_APIC ||
358 nmi_watchdog == NMI_IO_APIC) {
358 unsigned cpu; 359 unsigned cpu;
359 360
360 /* 361 /*