summaryrefslogtreecommitdiff
path: root/arch/arm64/kernel/vmlinux.lds.S
diff options
context:
space:
mode:
authorSuzuki K Poulose <suzuki.poulose@arm.com>2020-01-14 02:30:20 +0300
committerWill Deacon <will@kernel.org>2020-01-14 20:11:36 +0300
commit7559950aef1ab8792c50797c6c5c7c5150a02460 (patch)
tree6d4f657c932b27579cd4343cc17a094978d69e22 /arch/arm64/kernel/vmlinux.lds.S
parent449443c03d8cfdacf7313e17779a2594ebf87e6d (diff)
downloadlinux-7559950aef1ab8792c50797c6c5c7c5150a02460.tar.xz
arm64: cpufeature: Set the FP/SIMD compat HWCAP bits properly
We set the compat_elf_hwcap bits unconditionally on arm64 to include the VFP and NEON support. However, the FP/SIMD unit is optional on Arm v8 and thus could be missing. We already handle this properly in the kernel, but still advertise to the COMPAT applications that the VFP is available. Fix this to make sure we only advertise when we really have them. Fixes: 82e0191a1aa11abf ("arm64: Support systems without FP/ASIMD") Cc: Will Deacon <will@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Reviewed-by: Ard Biesheuvel <ardb@kernel.org> Reviewed-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com> Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/kernel/vmlinux.lds.S')
0 files changed, 0 insertions, 0 deletions