arch/i386/kernel/nmi.c: fix compiler warning

From: Lee Revell
Date: Thu Jan 26 2006 - 15:32:00 EST


arch/i386/kernel/nmi.c: In function 'check_nmi_watchdog':
arch/i386/kernel/nmi.c:139: warning: statement with no effect

Signed-Off-By: Lee Revell <rlrevell@xxxxxxxxxxx>

--- linux-2.6.16-rc1/arch/i386/kernel/nmi.c~ 2006-01-17 02:44:47.000000000 -0500
+++ linux-2.6.16-rc1/arch/i386/kernel/nmi.c 2006-01-26 15:30:59.000000000 -0500
@@ -135,8 +135,10 @@

printk(KERN_INFO "Testing NMI watchdog ... ");

+#ifdef CONFIG_SMP
if (nmi_watchdog == NMI_LOCAL_APIC)
smp_call_function(nmi_cpu_busy, (void *)&endflag, 0, 0);
+#endif

for (cpu = 0; cpu < NR_CPUS; cpu++)
prev_nmi_count[cpu] = per_cpu(irq_stat, cpu).__nmi_count;


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/