s390/hwcaps: remove z/Architecture mode active check
authorHeiko Carstens <hca@linux.ibm.com>
Wed, 21 Jul 2021 19:03:44 +0000 (21:03 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Tue, 27 Jul 2021 07:39:21 +0000 (09:39 +0200)
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>
arch/s390/kernel/processor.c

index 693f020..6710a23 100644 (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))