aboutsummaryrefslogtreecommitdiffstats
path: root/lib/flex_array.c
diff options
context:
space:
mode:
authorHeiko Carstens <[email protected]>2015-02-04 13:21:31 +0000
committerMartin Schwidefsky <[email protected]>2015-02-12 08:37:22 +0000
commitd05d15da18f521c4fb5a35b923ce33955c848d99 (patch)
treeebcecd24578e12e06eedb25fab426d208e75885e /lib/flex_array.c
parents390/vdso: fix clock_gettime for CLOCK_THREAD_CPUTIME_ID, -2 and -3 (diff)
downloadkernel-d05d15da18f521c4fb5a35b923ce33955c848d99.tar.gz
kernel-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 <[email protected]> Signed-off-by: Martin Schwidefsky <[email protected]>
Diffstat (limited to 'lib/flex_array.c')
0 files changed, 0 insertions, 0 deletions