x86, debug: print more information about unknown CPUs
authorHans Schou <linux@schou.dk>
Thu, 9 Oct 2008 18:47:24 +0000 (20:47 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 10 Oct 2008 15:03:59 +0000 (17:03 +0200)
Write the name of the unknown vendor_id to output instead of just
"unknown".

Tag changed to 'vendor_id' as used in /proc/cpuinfo

Signed-off-by: Hans Schou <linux@schou.dk>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/common.c

index cef3519b3bbb599b92dba293e3b72276d6c90e04..84c4040efa80d9a66cc98d681a7ecd676d862e03 100644 (file)
@@ -406,7 +406,7 @@ static void __cpuinit get_cpu_vendor(struct cpuinfo_x86 *c)
 
        if (!printed) {
                printed++;
-               printk(KERN_ERR "CPU: Vendor unknown, using generic init.\n");
+               printk(KERN_ERR "CPU: vendor_id '%s' unknown, using generic init.\n", v);
                printk(KERN_ERR "CPU: Your system may be unstable.\n");
        }