summaryrefslogtreecommitdiffstats
path: root/arch/s390/mm/gup.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2012-11-10 11:04:27 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2012-11-12 16:24:38 +0100
commit658e5ce705f2a09ab681eb61ca7c8619bb7a783d (patch)
treed97179ea3d442bb6acb9e4db36c8235f24a1f0b5 /arch/s390/mm/gup.c
parentfa968ee215c0ca91e4a9c3a69ac2405aae6e5d2f (diff)
downloadop-kernel-dev-658e5ce705f2a09ab681eb61ca7c8619bb7a783d.zip
op-kernel-dev-658e5ce705f2a09ab681eb61ca7c8619bb7a783d.tar.gz
s390/topology: fix core id vs physical package id mix-up
The current topology code confuses core id vs physical package id. In other words /sys/devices/system/cpu/cpuX/topology/core_id displays the physical_package_id (aka socket id) instead of the core id. The physical_package_id sysfs attribute always displays "-1" instead of the socket id. Fix this mix-up with a small patch which defines and initializes topology_physical_package_id correctly and fixes the broken core id handling. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/mm/gup.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud