From: Benjamin Herrenschmidt Date: Wed, 10 Jan 2018 06:10:13 +0000 (+1100) Subject: powerpc: Make newline in cpuinfo unconditional X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f5f563012a7002e64853c61d293d65b3de8d9dca;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Michael Ellerman --- 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();