mirror of https://gitee.com/openkylin/linux.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 <benh@kernel.crashing.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
parent
bba9bc89b9
commit
f5f563012a
|
@ -354,10 +354,7 @@ static int show_cpuinfo(struct seq_file *m, void *v)
|
||||||
loops_per_jiffy / (500000/HZ),
|
loops_per_jiffy / (500000/HZ),
|
||||||
(loops_per_jiffy / (5000/HZ)) % 100);
|
(loops_per_jiffy / (5000/HZ)) % 100);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_SMP
|
|
||||||
seq_printf(m, "\n");
|
seq_printf(m, "\n");
|
||||||
#endif
|
|
||||||
|
|
||||||
preempt_enable();
|
preempt_enable();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue