]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 22 Mar 2017 07:29:17 +0000 (08:29 +0100)
commit39a55a08e86508ddfa2e9d4d1ce7af0a2827452d
tree8986322ab75de8ca14ea1d3f8363447e0df15a0e
parentdea6a107cd1ca3aa5f416d628898c20bce180423
s390/facilites: use stfle_fac_list array size for MAX_FACILITY_BIT

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>
arch/s390/include/asm/facility.h