s390/facilites: use stfle_fac_list array size for MAX_FACILITY_BIT
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 20 Mar 2017 13:29:50 +0000 (14:29 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 May 2018 07:50:24 +0000 (09:50 +0200)
commitbce133ab7d4c4799949478fc7897cc335f3042e9
tree079ffc1fa8aca04e60206c9e18999e30e5c63b00
parenta801ff4d8e4e84f8922694ece01193b17fe053bd
s390/facilites: use stfle_fac_list array size for MAX_FACILITY_BIT

commit 6f5165e864d240d15675cc2fb5a369d57e1f60d0 upstream.

Use the actual size of the facility list array within the lowcore
structure for the MAX_FACILITY_BIT define instead of a comment which
states what this is good for. This makes it a bit harder to break
things.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/s390/include/asm/facility.h