diff options
| author | 2021-07-21 21:03:44 +0200 | |
|---|---|---|
| committer | 2021-07-27 09:39:21 +0200 | |
| commit | 487dff5638b90bcdb5a800cd5a63ff4dacc8e677 (patch) | |
| tree | 839fc65e37c6c1c4a41766f66f148bbbbc4389ae /arch/s390/kernel/processor.c | |
| parent | s390/hwcaps: use consistent coding style / remove comments (diff) | |
| download | linux-dev-487dff5638b90bcdb5a800cd5a63ff4dacc8e677.tar.xz linux-dev-487dff5638b90bcdb5a800cd5a63ff4dacc8e677.zip | |
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/processor.c')
| -rw-r--r-- | arch/s390/kernel/processor.c | 3 |
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)) |
