]> git.karo-electronics.de Git - linux-beck.git/commit
s390/topology: use cpu_topology array instead of per cpu variable
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Fri, 2 Dec 2016 09:38:37 +0000 (10:38 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 7 Dec 2016 06:23:16 +0000 (07:23 +0100)
commit30fc4ca2a8ab508d160a917b89b7e1c27f893354
tree90b80934e4e7189eef1ef0b3f4c17eb5f7af9588
parentaf51160ebd3cc1c8bf0d37a48f13ac0dbe8a6e5f
s390/topology: use cpu_topology array instead of per cpu variable

CPU topology information like cpu to node mapping must be setup in
setup_arch already. Topology information is currently made available
with a per cpu variable; this however will not work when the
initialization will be moved to setup_arch, since the generic percpu
setup will be done much later.

Therefore convert back to a cpu_topology array.

Reviewed-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
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
arch/s390/numa/mode_emu.c