summaryrefslogtreecommitdiff
path: root/arch/parisc/kernel/process.c
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2023-08-18 22:48:04 +0200
committerHelge Deller <deller@gmx.de>2023-08-22 10:24:46 +0200
commit9f5ba4b3e1b3c123eeca5d2d09161e8720048b5c (patch)
tree969886d814d56988e6fafaaece148b852a454e17 /arch/parisc/kernel/process.c
parent51c70a09c315fd2ad0c836392c6dab53839a59d3 (diff)
parisc: Fix /proc/cpuinfo output for lscpu
The lscpu command is broken since commit cab56b51ec0e ("parisc: Fix device names in /proc/iomem") added the PA pathname to all PA devices, includig the CPUs. lscpu parses /proc/cpuinfo and now believes it found different CPU types since every CPU is listed with an unique identifier (PA pathname). Fix this problem by simply dropping the PA pathname when listing the CPUs in /proc/cpuinfo. There is no need to show the pathname in this procfs file. Fixes: cab56b51ec0e ("parisc: Fix device names in /proc/iomem") Signed-off-by: Helge Deller <deller@gmx.de> Cc: <stable@vger.kernel.org> # v4.9+
Diffstat (limited to 'arch/parisc/kernel/process.c')
0 files changed, 0 insertions, 0 deletions