aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/setup.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-10-14 14:13:41 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-10-14 15:43:52 +0900
commit2908df9e2ce85e4de19ba81ac619acdf93a8bfaa (patch)
treefa287c05695e12e5f281d802d783569111bb2553 /arch/sh/kernel/setup.c
parentsh: Use boot_cpu_data for FPU tests in sigcontext paths. (diff)
downloadlinux-dev-2908df9e2ce85e4de19ba81ac619acdf93a8bfaa.tar.xz
linux-dev-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 '')
-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);