]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitafe808212ee8faeca96b60246cadc66e9813e443
tree019c17663dc65de1471e9a88aa5d020c35a00a04
parent9a5dab449334d79b71218d9fab7aba6149380fa9
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