[patch 07/11] x86: nmi_32.c - unknown_nmi_panic_callback should always panic on being called

From: Cyrill Gorcunov
Date: Sat May 24 2008 - 11:44:44 EST


Signed-off-by: Cyrill Gorcunov <gorcunov@xxxxxxxxx>
---

Index: linux-2.6.git/arch/x86/kernel/nmi_32.c
====================================================================
--- linux-2.6.git.orig/arch/x86/kernel/nmi_32.c 2008-05-24 13:07:08.000000000 +0400
+++ linux-2.6.git/arch/x86/kernel/nmi_32.c 2008-05-24 13:10:10.000000000 +0400
@@ -425,7 +425,7 @@ static int unknown_nmi_panic_callback(st
char buf[64];

sprintf(buf, "NMI received for unknown reason %02x\n", reason);
- die_nmi(buf, regs, 0);
+ die_nmi(buf, regs, 1); /* Always panic here */
return 0;
}


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