sh: Tidy up SMP cpuinfo.
Trivial change for cleaning up the cpuinfo pretty printing on SMP, adds a newline between CPUs. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
parent
eaa47704d9
commit
2908df9e2c
1 changed files with 2 additions and 0 deletions
|
@ -549,6 +549,8 @@ static int show_cpuinfo(struct seq_file *m, void *v)
|
||||||
|
|
||||||
if (cpu == 0)
|
if (cpu == 0)
|
||||||
seq_printf(m, "machine\t\t: %s\n", get_system_type());
|
seq_printf(m, "machine\t\t: %s\n", get_system_type());
|
||||||
|
else
|
||||||
|
seq_printf(m, "\n");
|
||||||
|
|
||||||
seq_printf(m, "processor\t: %d\n", cpu);
|
seq_printf(m, "processor\t: %d\n", cpu);
|
||||||
seq_printf(m, "cpu family\t: %s\n", init_utsname()->machine);
|
seq_printf(m, "cpu family\t: %s\n", init_utsname()->machine);
|
||||||
|
|
Reference in a new issue