Skip to contentSkip to conversation

Separate CPU entries in /proc/cpuinfo with a blank line

MIPS Applied Martin Michlmayr 2 participants 2 messages Mar 20, 2006 MIPS

lore
Share & tools
lore
#0 lore raw

Put in a blank line between CPU entries in /proc/cpuinfo, just like most other architectures (i386, ia64, x86_64) do.

arch/mips/kernel/proc.c +1 -0
@@ -135,6 +135,7 @@ static int show_cpuinfo(struct seq_file 
 	        cpu_has_vce ? "%u" : "not available");
 	seq_printf(m, fmt, 'D', vced_count);
 	seq_printf(m, fmt, 'I', vcei_count);
+	seq_printf(m, "\n");
 
 	return 0;
 }
Signature · 2 lines
Martin Michlmayr
http://www.cyrius.com/
Applied
#1 lore raw
Quoted 2 lines · Martin Michlmayr

Put in a blank line between CPU entries in /proc/cpuinfo, just like most other architectures (i386, ia64, x86_64) do.

Thanks, applied.

In the past I frequently used to reply to the mailing lists when applying a patch. Since I resurrected the commits mailing lists I do no longer do this. Just so people know.

Ralf