s390/numa: make core to node mapping data dynamic
authorMichael Holzheu <holzheu@linux.vnet.ibm.com>
Wed, 5 Aug 2015 09:23:53 +0000 (11:23 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 7 Aug 2015 07:57:38 +0000 (09:57 +0200)
commit7cde4910a5adcab62506eff49f4500053464fc8a
treee08f7692b733f4e9b57973d95ecda50795c0d981
parent854508c0d0bbcf2f80fa1f79af5cb9ce219b2e9c
s390/numa: make core to node mapping data dynamic

The core to node mapping data consumes about 2 KB bss data. To save memory
for the non-NUMA case, make the data dynamic. In addition change the
"core_to_node" array from "int" to "s32" which saves 1 KB also for the
NUMA case.

Suggested-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/numa/mode_emu.c