summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2021-07-21 22:03:44 +0300
committerHeiko Carstens <hca@linux.ibm.com>2021-07-27 10:39:21 +0300
commit487dff5638b90bcdb5a800cd5a63ff4dacc8e677 (patch)
tree839fc65e37c6c1c4a41766f66f148bbbbc4389ae
parent449fbd713f57d93460b30ebf41380d9391abba7c (diff)
downloadlinux-487dff5638b90bcdb5a800cd5a63ff4dacc8e677.tar.xz
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>
-rw-r--r--arch/s390/kernel/processor.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/s390/kernel/processor.c b/arch/s390/kernel/processor.c
index 693f02018048..6710a236d52f 100644
--- a/arch/s390/kernel/processor.c
+++ b/arch/s390/kernel/processor.c
@@ -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))