]> git.baikalelectronics.ru Git - kernel.git/commit
s390/hwcaps: remove hwcap stfle check
authorHeiko Carstens <hca@linux.ibm.com>
Wed, 21 Jul 2021 19:05:35 +0000 (21:05 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Tue, 27 Jul 2021 07:39:21 +0000 (09:39 +0200)
commit45bb4eeb98894e500daabd3e954196be330c02ee
tree3a1ab396fb218b4719d87d28077c4583c3efff91
parent6b7274b2829ce58efa099e4c7a8639cc2e04faa4
s390/hwcaps: remove hwcap stfle check

Remove the not so obvious "(elf_hwcap & (1UL << 2)" which only checks
if stfle is available. This used to be required for old code before
test_facility() was introduced. test_facility() will do the right
thing, regardless if stfle is available or not.

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