projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
449fbd7
)
s390/hwcaps: remove z/Architecture mode active check
author
Heiko Carstens
<hca@linux.ibm.com>
Wed, 21 Jul 2021 19:03:44 +0000
(21:03 +0200)
committer
Heiko 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
patch
|
blob
|
history
diff --git
a/arch/s390/kernel/processor.c
b/arch/s390/kernel/processor.c
index 693f02018048b0406cd8306dcfc9fec5f285f840..6710a236d52fa5ad5b804f608d54cde708d2a854 100644
(file)
--- 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))