KVM: s390: generate facility mask from readable list
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Tue, 16 Aug 2016 08:31:10 +0000 (10:31 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Thu, 25 Aug 2016 20:47:03 +0000 (22:47 +0200)
commitf6c1d359be6bb0aa0715b4b75d9ecf63bdb07c4a
treecddb8bfaccaecdaf7f7a0d2eeadd5e3156948bd6
parent29b4817d4018df78086157ea3a55c1d9424a7cfc
KVM: s390: generate facility mask from readable list

Automatically generate the KVM facility mask out of a readable list.
Manually changing the masks is very error prone, especially if the
special IBM bit numbering has to be considered.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/include/asm/facilities_src.h
arch/s390/kvm/kvm-s390.c