Re: 2.6.13-rc6-mm1

Brice Goglin
2005-08-19T13:25:28Z

arch/i386/kernel/traps.c: In function 'die_nmi':
arch/i386/kernel/traps.c:633: warning: statement with no effect

Another smp_nmi_call.

Signed-off-by: Brice Goglin <Brice.Goglin@ens-lyon.org>

Brice

--- linux-mm/arch/i386/kernel/traps.c.old 2005-08-19 15:19:14.000000000
+0200
+++ linux-mm/arch/i386/kernel/traps.c 2005-08-19 15:19:47.000000000 +0200
@@ -630,7 +630,9 @@ void die_nmi (struct pt_regs *regs, cons
printk(" on CPU%d, eip %08lx, registers:\n",
smp_processor_id(), regs->eip);
show_registers(regs);
+#ifdef CONFIG_SMP
smp_nmi_call_function(smp_show_regs, NULL, 1);
+#endif
bust_spinlocks(1);
printk("console shuts up ...\n");
console_silent();