s390/topology: get rid of core mask array
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 9 Mar 2017 09:02:28 +0000 (10:02 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 22 Mar 2017 07:29:07 +0000 (08:29 +0100)
commit251ea0ca408b827e888d622eac5e89e4b9502ea2
treee7f4b5b0f81f2d3c5088bca0cdccb7944f93f365
parent9b62330fa06346da3399a3799f67822fa081a8fe
s390/topology: get rid of core mask array

Use a single long value instead of a single element array to represent
the core mask. The array is a leftover from 32/31 bit code so we were
able to use bitops helper functions.

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