Commit 2aecf34e authored by Tom Rini's avatar Tom Rini Committed by Paul Mackerras

PPC32: Always print the processor number in /proc/cpuinfo.

Fix from Dan Burcaw <dburcaw@terrasoftsolutions.com>.
parent a5e24963
......@@ -165,12 +165,12 @@ int show_cpuinfo(struct seq_file *m, void *v)
return 0;
pvr = cpu_data[i].pvr;
lpj = cpu_data[i].loops_per_jiffy;
seq_printf(m, "processor\t: %d\n", i);
#else
pvr = mfspr(PVR);
lpj = loops_per_jiffy;
#endif
seq_printf(m, "processor\t: %d\n", i);
seq_printf(m, "cpu\t\t: ");
if (cur_cpu_spec[i]->pvr_mask)
......
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