linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* arch/i386/kernel/nmi.c: fix compiler warning
@ 2006-01-26 20:33 Lee Revell
  2006-01-26 21:08 ` Joe Perches
  0 siblings, 1 reply; 3+ messages in thread
From: Lee Revell @ 2006-01-26 20:33 UTC (permalink / raw)
  To: linux-kernel; +Cc: Andrew Morton

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@joe-job.com>

--- 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;



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-01-27 23:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-26 20:33 arch/i386/kernel/nmi.c: fix compiler warning Lee Revell
2006-01-26 21:08 ` Joe Perches
2006-01-27 23:34   ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).