s390/hwcaps: open code initialization of first six hwcap bits
authorHeiko Carstens <hca@linux.ibm.com>
Wed, 21 Jul 2021 18:58:03 +0000 (20:58 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Tue, 27 Jul 2021 07:39:21 +0000 (09:39 +0200)
commit251527c9b00c6d41565cfc05d17aa890ccb190e1
tree019c17663dc65de1471e9a88aa5d020c35a00a04
parent873129ca7b56c7b28dcf712b3bd50c08dc36b910
s390/hwcaps: open code initialization of first six hwcap bits

The first six hwcap bits are initialized in a rather odd way: an array
contains the stfl(e) bits which need to be set, so that the
corresponding bit position (= array index) within hwcaps are set.

Better open code it like it is done for all other bits, making it
obvious which bit is set when.

Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/kernel/processor.c