sh: Tidy up SMP cpuinfo.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 14 Oct 2009 05:13:41 +0000 (14:13 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 14 Oct 2009 06:43:52 +0000 (15:43 +0900)
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>
arch/sh/kernel/setup.c

index f9d44f8..99b4fb5 100644 (file)
@@ -549,6 +549,8 @@ static int show_cpuinfo(struct seq_file *m, void *v)
 
        if (cpu == 0)
                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, "cpu family\t: %s\n", init_utsname()->machine);