s390/hwcaps: remove z/Architecture mode active check

Remove a leftover from the common 31/64 bit code. z/Architecture mode
is now always active, there is no need to check.

Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
This commit is contained in:
Heiko Carstens 2021-07-21 21:03:44 +02:00
parent 449fbd713f
commit 487dff5638
1 changed files with 1 additions and 2 deletions

View File

@ -184,8 +184,7 @@ static int __init setup_hwcaps(void)
elf_hwcap |= HWCAP_ESAN3;
/* z/Architecture mode active */
if (test_facility(2))
elf_hwcap |= HWCAP_ZARCH;
elf_hwcap |= HWCAP_ZARCH;
/* store-facility-list-extended */
if (test_facility(7))