summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2018-01-10 07:10:13 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2018-01-16 13:47:15 +0100
commitf5f563012a7002e64853c61d293d65b3de8d9dca (patch)
treec89ff0807b673e9d6575c1d0ab8ec5688dd7683f /arch
parentpowerpc: Add aacraid and nvme to powernv_defconfig (diff)
downloadlinux-f5f563012a7002e64853c61d293d65b3de8d9dca.tar.xz
linux-f5f563012a7002e64853c61d293d65b3de8d9dca.zip
powerpc: Make newline in cpuinfo unconditional
We used to not put the newline between the CPU part and the summary part on UP kernels. This is a rather pointless ifdef so take it out. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/kernel/setup-common.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/powerpc/kernel/setup-common.c b/arch/powerpc/kernel/setup-common.c
index a20e390cb0dd..44d53b33c533 100644
--- a/arch/powerpc/kernel/setup-common.c
+++ b/arch/powerpc/kernel/setup-common.c
@@ -354,10 +354,7 @@ static int show_cpuinfo(struct seq_file *m, void *v)
loops_per_jiffy / (500000/HZ),
(loops_per_jiffy / (5000/HZ)) % 100);
#endif
-
-#ifdef CONFIG_SMP
seq_printf(m, "\n");
-#endif
preempt_enable();