]> git.karo-electronics.de Git - linux-beck.git/commitdiff
s390/cpuinfo: rename cpu field to cpu number
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Tue, 21 Jun 2016 09:05:05 +0000 (11:05 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 28 Jun 2016 07:32:26 +0000 (09:32 +0200)
The cpu field name within /proc/cpuinfo has a conflict with the
powerpc and sparc output where it contains the cpu model name.  So
rename the field name to cpu number which shouldn't generate any
conflicts.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/processor.c

index 06ca71b7ec0e6a8e35054ee67a5e40f0e4fe13a7..6cf24b471b0c5b50d9bf54960a65b8443a3e1399 100644 (file)
@@ -143,7 +143,7 @@ static int show_cpuinfo(struct seq_file *m, void *v)
                show_cpu_summary(m, v);
        if (!machine_has_cpu_mhz)
                return 0;
-       seq_printf(m, "\ncpu             : %ld\n", n);
+       seq_printf(m, "\ncpu number      : %ld\n", n);
        show_cpu_mhz(m, n);
        return 0;
 }