Home
last modified time | relevance | path

Searched hist:"9 f5ba4b3" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/parisc/kernel/
H A Dprocessor.c9f5ba4b3 Fri Aug 18 15:48:04 CDT 2023 Helge Deller <deller@gmx.de> 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+