Skip to content

Commit

Permalink
powerpc: Make newline in cpuinfo unconditional
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Benjamin Herrenschmidt authored and Michael Ellerman committed Jan 16, 2018
1 parent bba9bc8 commit f5f5630
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions arch/powerpc/kernel/setup-common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit f5f5630

Please sign in to comment.