aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/kernel/cpu/common.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
index a5fbc3c5fccc..1cc48ff91cb3 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/arch/x86/kernel/cpu/common.c
@@ -1023,14 +1023,16 @@ void __cpuinit print_cpu_info(struct cpuinfo_x86 *c)
1023 printk(KERN_CONT "%s ", vendor); 1023 printk(KERN_CONT "%s ", vendor);
1024 1024
1025 if (c->x86_model_id[0]) 1025 if (c->x86_model_id[0])
1026 printk(KERN_CONT "%s", c->x86_model_id); 1026 printk(KERN_CONT "%s", strim(c->x86_model_id));
1027 else 1027 else
1028 printk(KERN_CONT "%d86", c->x86); 1028 printk(KERN_CONT "%d86", c->x86);
1029 1029
1030 printk(KERN_CONT " (fam: %02x, model: %02x", c->x86, c->x86_model);
1031
1030 if (c->x86_mask || c->cpuid_level >= 0) 1032 if (c->x86_mask || c->cpuid_level >= 0)
1031 printk(KERN_CONT " stepping %02x\n", c->x86_mask); 1033 printk(KERN_CONT ", stepping: %02x)\n", c->x86_mask);
1032 else 1034 else
1033 printk(KERN_CONT "\n"); 1035 printk(KERN_CONT ")\n");
1034 1036
1035 print_cpu_msr(c); 1037 print_cpu_msr(c);
1036} 1038}