linux-mips
[Top] [All Lists]

[MIPS] Separate CPU entries in /proc/cpuinfo with a blank line

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [MIPS] Separate CPU entries in /proc/cpuinfo with a blank line
From: Martin Michlmayr <tbm@cyrius.com>
Date: Mon, 20 Mar 2006 02:51:20 +0000
Cc: linux-mips@linux-mips.org
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.11+cvs20060126
Put in a blank line between CPU entries in /proc/cpuinfo, just like
most other architectures (i386, ia64, x86_64) do.

Signed-off-by: Martin Michlmayr <tbm@cyrius.com>


--- a/arch/mips/kernel/proc.c
+++ b/arch/mips/kernel/proc.c
@@ -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;
 }

-- 
Martin Michlmayr
http://www.cyrius.com/

<Prev in Thread] Current Thread [Next in Thread>