diff options
Diffstat (limited to 'arch/s390/kernel/setup.c')
| -rw-r--r-- | arch/s390/kernel/setup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/kernel/setup.c b/arch/s390/kernel/setup.c index f86c81e13c37..40b57693de38 100644 --- a/arch/s390/kernel/setup.c +++ b/arch/s390/kernel/setup.c | |||
| @@ -974,11 +974,13 @@ static void __init setup_hwcaps(void) | |||
| 974 | if (MACHINE_HAS_HPAGE) | 974 | if (MACHINE_HAS_HPAGE) |
| 975 | elf_hwcap |= HWCAP_S390_HPAGE; | 975 | elf_hwcap |= HWCAP_S390_HPAGE; |
| 976 | 976 | ||
| 977 | #if defined(CONFIG_64BIT) | ||
| 977 | /* | 978 | /* |
| 978 | * 64-bit register support for 31-bit processes | 979 | * 64-bit register support for 31-bit processes |
| 979 | * HWCAP_S390_HIGH_GPRS is bit 9. | 980 | * HWCAP_S390_HIGH_GPRS is bit 9. |
| 980 | */ | 981 | */ |
| 981 | elf_hwcap |= HWCAP_S390_HIGH_GPRS; | 982 | elf_hwcap |= HWCAP_S390_HIGH_GPRS; |
| 983 | #endif | ||
| 982 | 984 | ||
| 983 | get_cpu_id(&cpu_id); | 985 | get_cpu_id(&cpu_id); |
| 984 | switch (cpu_id.machine) { | 986 | switch (cpu_id.machine) { |
