Skip to content

Commit

Permalink
x86: nmi_32.c - unknown_nmi_panic_callback should always panic
Browse files Browse the repository at this point in the history
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Cc: hpa@zytor.com
Cc: mingo@redhat.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
Cyrill Gorcunov authored and Thomas Gleixner committed May 25, 2008
1 parent ad63ba1 commit 6c8decd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/kernel/nmi_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ static int unknown_nmi_panic_callback(struct pt_regs *regs, int cpu)
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;
}

Expand Down

0 comments on commit 6c8decd

Please sign in to comment.