summaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/setup.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-10-14 07:13:41 +0200
committerPaul Mundt <lethal@linux-sh.org>2009-10-14 08:43:52 +0200
commit2908df9e2ce85e4de19ba81ac619acdf93a8bfaa (patch)
treefa287c05695e12e5f281d802d783569111bb2553 /arch/sh/kernel/setup.c
parentsh: Use boot_cpu_data for FPU tests in sigcontext paths. (diff)
downloadlinux-2908df9e2ce85e4de19ba81ac619acdf93a8bfaa.tar.xz
linux-2908df9e2ce85e4de19ba81ac619acdf93a8bfaa.zip
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>
Diffstat (limited to 'arch/sh/kernel/setup.c')
-rw-r--r--arch/sh/kernel/setup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/kernel/setup.c b/arch/sh/kernel/setup.c
index f9d44f8e0df6..99b4fb553bf1 100644
--- a/arch/sh/kernel/setup.c
+++ b/arch/sh/kernel/setup.c
@@ -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);