diff options
author | Andi Kleen <andi@firstfloor.org> | 2009-05-27 15:56:58 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-06-03 17:45:12 -0400 |
commit | ac9603754dc7e286e62ae4f1067958d5b0075f99 (patch) | |
tree | 9c096629855e81dbd1b18e51af14a181d5012b5a /arch/x86/kernel | |
parent | 3c0797925f4ef9d55a32059d2af61a9c262e639d (diff) |
x86, mce: make non Monarch panic message "Fatal machine check" too
... instead of "Machine check". This is for consistency with the Monarch
panic message.
Based on a report from Ying Huang.
v2: But add a descriptive postfix so that the test suite can distingush.
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r-- | arch/x86/kernel/cpu/mcheck/mce.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/cpu/mcheck/mce.c b/arch/x86/kernel/cpu/mcheck/mce.c index ba431893e31d..d5cb0b4c17ff 100644 --- a/arch/x86/kernel/cpu/mcheck/mce.c +++ b/arch/x86/kernel/cpu/mcheck/mce.c | |||
@@ -554,7 +554,7 @@ static void mce_reign(void) | |||
554 | * other CPUs. | 554 | * other CPUs. |
555 | */ | 555 | */ |
556 | if (m && global_worst >= MCE_PANIC_SEVERITY && tolerant < 3) | 556 | if (m && global_worst >= MCE_PANIC_SEVERITY && tolerant < 3) |
557 | mce_panic("Fatal machine check", m, msg); | 557 | mce_panic("Fatal Machine check", m, msg); |
558 | 558 | ||
559 | /* | 559 | /* |
560 | * For UC somewhere we let the CPU who detects it handle it. | 560 | * For UC somewhere we let the CPU who detects it handle it. |
@@ -858,7 +858,7 @@ void do_machine_check(struct pt_regs *regs, long error_code) | |||
858 | * support MCE broadcasting or it has been disabled. | 858 | * support MCE broadcasting or it has been disabled. |
859 | */ | 859 | */ |
860 | if (no_way_out && tolerant < 3) | 860 | if (no_way_out && tolerant < 3) |
861 | mce_panic("Machine check", final, msg); | 861 | mce_panic("Fatal machine check on current CPU", final, msg); |
862 | 862 | ||
863 | /* | 863 | /* |
864 | * If the error seems to be unrecoverable, something should be | 864 | * If the error seems to be unrecoverable, something should be |