mirror of
https://github.com/torvalds/linux.git
synced 2024-12-19 01:23:20 +00:00
x86: nmi_32.c - unknown_nmi_panic_callback should always panic
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> Cc: hpa@zytor.com Cc: mingo@redhat.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
ad63ba169d
commit
6c8decdf14
@ -425,7 +425,7 @@ static int unknown_nmi_panic_callback(struct pt_regs *regs, int cpu)
|
|||||||
char buf[64];
|
char buf[64];
|
||||||
|
|
||||||
sprintf(buf, "NMI received for unknown reason %02x\n", reason);
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user