OSDN Git Service

powerpc: Make newline in cpuinfo unconditional
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 10 Jan 2018 06:10:13 +0000 (17:10 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 16 Jan 2018 12:47:15 +0000 (23:47 +1100)
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>
arch/powerpc/kernel/setup-common.c

index a20e390..44d53b3 100644 (file)
@@ -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();