From 777b9eca6c8a4df82f92f431db44ffc4e2f2f002 Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Sat, 24 May 2008 19:36:39 +0400 Subject: [PATCH] --- yaml --- r: 99810 b: refs/heads/master c: 7c2ba83f9a479eee6f302147767a30f3187fbd4b h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/x86/kernel/nmi_32.c | 8 +------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/[refs] b/[refs] index 3912dbbe8f49..f7011c0a9817 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 96f9dcb10755e96eae706b9e869c0dc25adb3d74 +refs/heads/master: 7c2ba83f9a479eee6f302147767a30f3187fbd4b diff --git a/trunk/arch/x86/kernel/nmi_32.c b/trunk/arch/x86/kernel/nmi_32.c index d0b0684bde9e..c6d0777aaf90 100644 --- a/trunk/arch/x86/kernel/nmi_32.c +++ b/trunk/arch/x86/kernel/nmi_32.c @@ -108,13 +108,7 @@ int __init check_nmi_watchdog(void) local_irq_enable(); mdelay((20*1000)/nmi_hz); // wait 20 ticks - for_each_possible_cpu(cpu) { -#ifdef CONFIG_SMP - /* Check cpu_callin_map here because that is set - after the timer is started. */ - if (!cpu_isset(cpu, cpu_callin_map)) - continue; -#endif + for_each_online_cpu(cpu) { if (!per_cpu(wd_enabled, cpu)) continue; if (nmi_count(cpu) - prev_nmi_count[cpu] <= 5) {