فهرست منبع

sh: Tidy up SMP cpuinfo.

Trivial change for cleaning up the cpuinfo pretty printing on SMP, adds a
newline between CPUs.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt 16 سال پیش
والد
کامیت
2908df9e2c
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      arch/sh/kernel/setup.c

+ 2 - 0
arch/sh/kernel/setup.c

@@ -549,6 +549,8 @@ static int show_cpuinfo(struct seq_file *m, void *v)
 
 
 	if (cpu == 0)
 	if (cpu == 0)
 		seq_printf(m, "machine\t\t: %s\n", get_system_type());
 		seq_printf(m, "machine\t\t: %s\n", get_system_type());
+	else
+		seq_printf(m, "\n");
 
 
 	seq_printf(m, "processor\t: %d\n", cpu);
 	seq_printf(m, "processor\t: %d\n", cpu);
 	seq_printf(m, "cpu family\t: %s\n", init_utsname()->machine);
 	seq_printf(m, "cpu family\t: %s\n", init_utsname()->machine);