Skip to content

Commit 109ab95

Browse files
heicarstMartin Schwidefsky
authored andcommitted
s390/cpuinfo: rename cpu field to cpu number
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>
1 parent 2764196 commit 109ab95

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎arch/s390/kernel/processor.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ static int show_cpuinfo(struct seq_file *m, void *v)
143143
show_cpu_summary(m, v);
144144
if (!machine_has_cpu_mhz)
145145
return 0;
146-
seq_printf(m, "\ncpu : %ld\n", n);
146+
seq_printf(m, "\ncpu number : %ld\n", n);
147147
show_cpu_mhz(m, n);
148148
return 0;
149149
}

0 commit comments

Comments
 (0)