Skip to content

Commit 2908df9

Browse files
committed
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>
1 parent eaa4770 commit 2908df9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎arch/sh/kernel/setup.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,8 @@ static int show_cpuinfo(struct seq_file *m, void *v)
549549

550550
if (cpu == 0)
551551
seq_printf(m, "machine\t\t: %s\n", get_system_type());
552+
else
553+
seq_printf(m, "\n");
552554

553555
seq_printf(m, "processor\t: %d\n", cpu);
554556
seq_printf(m, "cpu family\t: %s\n", init_utsname()->machine);

0 commit comments

Comments
 (0)