Commit d9f897c9 authored by Leonid Yegoshin's avatar Leonid Yegoshin Committed by Ralf Baechle

MIPS: kernel: cpu-probe: Report CPU id during probe

Signed-off-by: default avatarLeonid Yegoshin <Leonid.Yegoshin@imgtec.com>
Signed-off-by: default avatarMarkos Chandras <markos.chandras@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/6023/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 40b15b28
...@@ -1099,8 +1099,8 @@ void cpu_report(void) ...@@ -1099,8 +1099,8 @@ void cpu_report(void)
{ {
struct cpuinfo_mips *c = &current_cpu_data; struct cpuinfo_mips *c = &current_cpu_data;
printk(KERN_INFO "CPU revision is: %08x (%s)\n", pr_info("CPU%d revision is: %08x (%s)\n",
c->processor_id, cpu_name_string()); smp_processor_id(), c->processor_id, cpu_name_string());
if (c->options & MIPS_CPU_FPU) if (c->options & MIPS_CPU_FPU)
printk(KERN_INFO "FPU revision is: %08x\n", c->fpu_id); printk(KERN_INFO "FPU revision is: %08x\n", c->fpu_id);
} }
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