projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eaa4770
)
sh: Tidy up SMP cpuinfo.
author
Paul Mundt
<lethal@linux-sh.org>
Wed, 14 Oct 2009 05:13:41 +0000
(14:13 +0900)
committer
Paul 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
patch
|
blob
|
blame
|
history
diff --git
a/arch/sh/kernel/setup.c
b/arch/sh/kernel/setup.c
index f9d44f8e0df648465395cd8fa49cd2b54b4c4eb4..99b4fb553bf1a7cdbf99a56cd8bd9e0e007f8007 100644
(file)
--- 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);