summaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2021-07-21 21:03:44 +0200
committerHeiko Carstens <hca@linux.ibm.com>2021-07-27 09:39:21 +0200
commit487dff5638b90bcdb5a800cd5a63ff4dacc8e677 (patch)
tree839fc65e37c6c1c4a41766f66f148bbbbc4389ae /arch/s390/kernel
parent449fbd713f57d93460b30ebf41380d9391abba7c (diff)
downloadlinux-487dff5638b90bcdb5a800cd5a63ff4dacc8e677.tar.bz2
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>
Diffstat (limited to 'arch/s390/kernel')
-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))