aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2008-05-24 11:36:38 -0400
committerThomas Gleixner <tglx@linutronix.de>2008-05-25 16:32:51 -0400
commit96f9dcb10755e96eae706b9e869c0dc25adb3d74 (patch)
tree1152eb74a6c478c02fccd09f7c114bcd4e5e6faf /arch
parent6c8decdf14b17d42f6eb817d310642f4d6598a19 (diff)
x86: nmi_64.c - use for_each_possible_cpu helper
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> Cc: hpa@zytor.com Cc: mingo@redhat.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/nmi_64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/nmi_64.c b/arch/x86/kernel/nmi_64.c
index f546e3164a74..d98b21cd4928 100644
--- a/arch/x86/kernel/nmi_64.c
+++ b/arch/x86/kernel/nmi_64.c
@@ -98,7 +98,7 @@ int __init check_nmi_watchdog(void)
98 smp_call_function(nmi_cpu_busy, (void *)&endflag, 0, 0); 98 smp_call_function(nmi_cpu_busy, (void *)&endflag, 0, 0);
99#endif 99#endif
100 100
101 for (cpu = 0; cpu < NR_CPUS; cpu++) 101 for_each_possible_cpu(cpu)
102 prev_nmi_count[cpu] = cpu_pda(cpu)->__nmi_count; 102 prev_nmi_count[cpu] = cpu_pda(cpu)->__nmi_count;
103 local_irq_enable(); 103 local_irq_enable();
104 mdelay((20*1000)/nmi_hz); // wait 20 ticks 104 mdelay((20*1000)/nmi_hz); // wait 20 ticks