[PATCH] x86_64: Fix warning in nmi.c on uniprocessor kernels

Fix

CC arch/x86_64/kernel/nmi.o
linux/arch/x86_64/kernel/nmi.c: In function ???check_nmi_watchdog???:
linux/arch/x86_64/kernel/nmi.c:155: warning: statement with no effect

on Uniprocessor builds.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Andi Kleen and committed by
Linus Torvalds
7554c3f0 365ba917

+2
+2
arch/x86_64/kernel/nmi.c
··· 151 151 152 152 printk(KERN_INFO "testing NMI watchdog ... "); 153 153 154 + #ifdef CONFIG_SMP 154 155 if (nmi_watchdog == NMI_LOCAL_APIC) 155 156 smp_call_function(nmi_cpu_busy, (void *)&endflag, 0, 0); 157 + #endif 156 158 157 159 for (cpu = 0; cpu < NR_CPUS; cpu++) 158 160 counts[cpu] = cpu_pda(cpu)->__nmi_count;