Commit e207e143 authored by Linus Torvalds's avatar Linus Torvalds

Revert "x86, mce: do not compile mcelog message on AMD"

This reverts commit 22223c9b, as
requested by Andi Kleen:

  "Obviously kernels compiled with AMD support can still run on non AMD
   systems, so messages like this can never be removed at compile time."
Requsted-by: default avatarAndi Kleen <andi@firstfloor.org>
Cc: Borislav Petkov <borislav.petkov@amd.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 17d857be
...@@ -204,10 +204,7 @@ static void print_mce_head(void) ...@@ -204,10 +204,7 @@ static void print_mce_head(void)
static void print_mce_tail(void) static void print_mce_tail(void)
{ {
printk(KERN_EMERG "This is not a software problem!\n" printk(KERN_EMERG "This is not a software problem!\n"
#if (!defined(CONFIG_EDAC) || !defined(CONFIG_CPU_SUP_AMD)) "Run through mcelog --ascii to decode and contact your hardware vendor\n");
"Run through mcelog --ascii to decode and contact your hardware vendor\n"
#endif
);
} }
#define PANIC_TIMEOUT 5 /* 5 seconds */ #define PANIC_TIMEOUT 5 /* 5 seconds */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment