diff options
-rw-r--r-- | arch/x86/kernel/nmi_32.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/x86/kernel/nmi_32.c b/arch/x86/kernel/nmi_32.c index d0b0684bde9..c6d0777aaf9 100644 --- a/arch/x86/kernel/nmi_32.c +++ b/arch/x86/kernel/nmi_32.c | |||
@@ -108,13 +108,7 @@ int __init check_nmi_watchdog(void) | |||
108 | local_irq_enable(); | 108 | local_irq_enable(); |
109 | mdelay((20*1000)/nmi_hz); // wait 20 ticks | 109 | mdelay((20*1000)/nmi_hz); // wait 20 ticks |
110 | 110 | ||
111 | for_each_possible_cpu(cpu) { | 111 | for_each_online_cpu(cpu) { |
112 | #ifdef CONFIG_SMP | ||
113 | /* Check cpu_callin_map here because that is set | ||
114 | after the timer is started. */ | ||
115 | if (!cpu_isset(cpu, cpu_callin_map)) | ||
116 | continue; | ||
117 | #endif | ||
118 | if (!per_cpu(wd_enabled, cpu)) | 112 | if (!per_cpu(wd_enabled, cpu)) |
119 | continue; | 113 | continue; |
120 | if (nmi_count(cpu) - prev_nmi_count[cpu] <= 5) { | 114 | if (nmi_count(cpu) - prev_nmi_count[cpu] <= 5) { |