]> git.baikalelectronics.ru Git - kernel.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)
commit2c70c15170b63dac22eb1e0ba7142027a01d89c6
tree90b80934e4e7189eef1ef0b3f4c17eb5f7af9588
parentb698b11cf414be746f43d1ff3558f44d80be989d
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