VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   55 Tags
author: Heiko Carstens <hca@linux.ibm.com> 2021-07-21 21:03:44 +0200 committer: Heiko Carstens <hca@linux.ibm.com> 2021-07-27 09:39:21 +0200 commit: 487dff5638b90bcdb5a800cd5a63ff4dacc8e677 parent: 449fbd713f57d93460b30ebf41380d9391abba7c
Commit Summary:
s390/hwcaps: remove z/Architecture mode active check
Diffstat:
1 file changed, 1 insertion, 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))