x86: make nmi_cpu_busy() always defined

nmi_cpu_busy() must be available on !SMP too.

this is in preparation to a smp_call_function_mask() fix.

Signed-off-by: Ingo Molnar <mingo@elte.hu>

+2 -2
+2 -2
arch/x86/kernel/nmi_32.c
··· 51 52 static int endflag __initdata = 0; 53 54 - #ifdef CONFIG_SMP 55 /* The performance counters used by NMI_LOCAL_APIC don't trigger when 56 * the CPU is idle. To make sure the NMI watchdog really ticks on all 57 * CPUs during the test make them busy. 58 */ 59 static __init void nmi_cpu_busy(void *data) 60 { 61 local_irq_enable_in_hardirq(); 62 /* Intentionally don't use cpu_relax here. This is 63 to make sure that the performance counter really ticks, ··· 67 care if they get somewhat less cycles. */ 68 while (endflag == 0) 69 mb(); 70 - } 71 #endif 72 73 static int __init check_nmi_watchdog(void) 74 {
··· 51 52 static int endflag __initdata = 0; 53 54 /* The performance counters used by NMI_LOCAL_APIC don't trigger when 55 * the CPU is idle. To make sure the NMI watchdog really ticks on all 56 * CPUs during the test make them busy. 57 */ 58 static __init void nmi_cpu_busy(void *data) 59 { 60 + #ifdef CONFIG_SMP 61 local_irq_enable_in_hardirq(); 62 /* Intentionally don't use cpu_relax here. This is 63 to make sure that the performance counter really ticks, ··· 67 care if they get somewhat less cycles. */ 68 while (endflag == 0) 69 mb(); 70 #endif 71 + } 72 73 static int __init check_nmi_watchdog(void) 74 {