Commit 98ac9169 authored by Heiko Carstens's avatar Heiko Carstens

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: default avatarHeiko Carstens <hca@linux.ibm.com>
parent 487dff56
......@@ -207,7 +207,7 @@ static int __init setup_hwcaps(void)
elf_hwcap |= HWCAP_ETF3EH;
/* decimal floating point & perform floating point operation */
if ((elf_hwcap & (1UL << 2)) && test_facility(42) && test_facility(44))
if (test_facility(42) && test_facility(44))
elf_hwcap |= HWCAP_DFP;
/* huge page support */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment