s390/smp: improve setup of possible cpu mask
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 16 Dec 2013 13:31:26 +0000 (14:31 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 18 Dec 2013 16:35:18 +0000 (17:35 +0100)
commitd80512f87474f2dfd67ef931737659acce20fe69
treedac6a70fa90b58bdf396292e95dced35c3caccff
parent319e2e3f63c348a9b66db4667efa73178e18b17d
s390/smp: improve setup of possible cpu mask

Since under z/VM we cannot have more than 64 cpus, make sure the
cpu_possible_mask does not contain more bits.
This avoids wasting memory for dynamic per-cpu allocations if
CONFIG_NR_CPUS is larger than 64.

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