mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 17:42:03 +02:00
MIPS: kernel: proc: Use two seq_putc() calls in show_cpuinfo()
Single line breaks should occasionally be put into a sequence. Thus use the corresponding function “seq_putc”. The source code was transformed by using the Coccinelle software. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
This commit is contained in:
parent
a13c140cc2
commit
8121880ddc
|
|
@ -109,7 +109,7 @@ static int show_cpuinfo(struct seq_file *m, void *v)
|
|||
seq_puts(m, " mips64r5");
|
||||
if (cpu_has_mips64r6)
|
||||
seq_puts(m, " mips64r6");
|
||||
seq_puts(m, "\n");
|
||||
seq_putc(m, '\n');
|
||||
|
||||
seq_puts(m, "ASEs implemented\t:");
|
||||
if (cpu_has_mips16)
|
||||
|
|
@ -273,7 +273,7 @@ static int show_cpuinfo(struct seq_file *m, void *v)
|
|||
seq_puts(m, " mm_sysad");
|
||||
if (cpu_has_mm_full)
|
||||
seq_puts(m, " mm_full");
|
||||
seq_puts(m, "\n");
|
||||
seq_putc(m, '\n');
|
||||
|
||||
seq_printf(m, "shadow register sets\t: %d\n",
|
||||
cpu_data[n].srsets);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user