]> git.baikalelectronics.ru Git - kernel.git/commit
s390/cpuinfo: do not skip info for CPUs without MHz feature
authorAlexander Gordeev <agordeev@linux.ibm.com>
Mon, 16 Mar 2020 09:25:44 +0000 (10:25 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Mon, 23 Mar 2020 12:41:55 +0000 (13:41 +0100)
commit10bb920456f425155e18944d280ba96769548b97
tree61d6bbc54d8494f49355557f7f4c4b8efa44d542
parent73ba69bc2f8e1bb9b1a50ba441325eb2b9b495bc
s390/cpuinfo: do not skip info for CPUs without MHz feature

In the past there were no per-CPU information in /proc/cpuinfo
other than CPU frequency. Hence, for machines without CPU MHz
feature there were nothing to show. Now CPU topology and IDs
still could be shown, so do not skip this information from the
output.

Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
[heiko.carstens@de.ibm.com: moved comparison]
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/kernel/processor.c