diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2017-03-09 10:02:28 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2017-03-22 08:29:07 +0100 |
commit | 251ea0ca408b827e888d622eac5e89e4b9502ea2 (patch) | |
tree | e7f4b5b0f81f2d3c5088bca0cdccb7944f93f365 /arch/s390/include/asm/sysinfo.h | |
parent | 9b62330fa06346da3399a3799f67822fa081a8fe (diff) | |
download | op-kernel-dev-251ea0ca408b827e888d622eac5e89e4b9502ea2.zip op-kernel-dev-251ea0ca408b827e888d622eac5e89e4b9502ea2.tar.gz |
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>
Diffstat (limited to 'arch/s390/include/asm/sysinfo.h')
-rw-r--r-- | arch/s390/include/asm/sysinfo.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/s390/include/asm/sysinfo.h b/arch/s390/include/asm/sysinfo.h index 229326c..27394989 100644 --- a/arch/s390/include/asm/sysinfo.h +++ b/arch/s390/include/asm/sysinfo.h @@ -142,7 +142,6 @@ struct sysinfo_3_2_2 { extern int topology_max_mnest; -#define TOPOLOGY_CORE_BITS 64 #define TOPOLOGY_NR_MAG 6 struct topology_core { @@ -152,7 +151,7 @@ struct topology_core { unsigned char pp:2; unsigned char reserved1; unsigned short origin; - unsigned long mask[TOPOLOGY_CORE_BITS / BITS_PER_LONG]; + unsigned long mask; }; struct topology_container { |