···51515252static int endflag __initdata = 0;53535454-#ifdef CONFIG_SMP5554/* The performance counters used by NMI_LOCAL_APIC don't trigger when5655 * the CPU is idle. To make sure the NMI watchdog really ticks on all5756 * CPUs during the test make them busy.5857 */5958static __init void nmi_cpu_busy(void *data)6059{6060+#ifdef CONFIG_SMP6161 local_irq_enable_in_hardirq();6262 /* Intentionally don't use cpu_relax here. This is6363 to make sure that the performance counter really ticks,···6767 care if they get somewhat less cycles. */6868 while (endflag == 0)6969 mb();7070-}7170#endif7171+}72727373static int __init check_nmi_watchdog(void)7474{