]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
[S390] topology: expose core identifier
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 17 May 2010 08:00:12 +0000 (10:00 +0200)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Mon, 17 May 2010 08:00:16 +0000 (10:00 +0200)
commit10d3858950557cd3cc05f647ede597114c610177
tree5f434f31fb64ef02dc91f99fd895c186379f2b9d
parent2dedf0d9eadf39660f2e1686b5d36e4a7515803f
[S390] topology: expose core identifier

Provide a topology_core_id define which makes sure that the contents of
/sys/devices/system/cpu/cpuX/topology/core_id
indeed do contain the core id and not always 0.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/topology.h
arch/s390/kernel/topology.c