Re: 2.6.13-rc6-mm1

From: Brice Goglin
Date: Fri Aug 19 2005 - 08:25:40 EST


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@xxxxxxxxxxxx>

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

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