summaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2015-02-04 14:21:31 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2015-02-12 09:37:22 +0100
commitd05d15da18f521c4fb5a35b923ce33955c848d99 (patch)
treeebcecd24578e12e06eedb25fab426d208e75885e /arch/s390/include/asm
parent49253925c0be02ed4eb7d94a426731107dd8059d (diff)
downloadblackbird-obmc-linux-d05d15da18f521c4fb5a35b923ce33955c848d99.tar.gz
blackbird-obmc-linux-d05d15da18f521c4fb5a35b923ce33955c848d99.zip
s390/topology: delay initialization of topology cpu masks
There is no reason to initialize the topology cpu masks already while setup_arch() is being called. It is sufficient to initialize the masks before the scheduler becomes SMP aware. Therefore a pre-SMP initcall aka early_initcall is suffucient. This also allows to convert the cpu_topology array into a per cpu variable with a later patch. Without this patch this wouldn't be possible since the per cpu memory areas are not allocated while setup_arch is executed. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm')
-rw-r--r--arch/s390/include/asm/topology.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/s390/include/asm/topology.h b/arch/s390/include/asm/topology.h
index c4fbb9527c5c..9454231c9f23 100644
--- a/arch/s390/include/asm/topology.h
+++ b/arch/s390/include/asm/topology.h
@@ -51,14 +51,6 @@ static inline void topology_expect_change(void) { }
#define POLARIZATION_VM (2)
#define POLARIZATION_VH (3)
-#ifdef CONFIG_SCHED_BOOK
-void s390_init_cpu_topology(void);
-#else
-static inline void s390_init_cpu_topology(void)
-{
-};
-#endif
-
#include <asm-generic/topology.h>
#endif /* _ASM_S390_TOPOLOGY_H */
OpenPOWER on IntegriCloud