aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/include
diff options
context:
space:
mode:
authorSteve Capper <Steve.Capper@arm.com>2013-09-18 16:14:28 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2013-09-20 09:56:07 +0100
commit25804e6a96681d5d2142058948e218999e4f547c (patch)
tree99d63cdc4ea8700013591057eed2addd921b56cc /arch/arm64/include
parentarm64: Correctly report LR and SP for compat tasks (diff)
downloadlinux-dev-25804e6a96681d5d2142058948e218999e4f547c.tar.xz
linux-dev-25804e6a96681d5d2142058948e218999e4f547c.zip
arm64: Widen hwcap to be 64 bit
Under arm64 elf_hwcap is a 32 bit quantity, but it is stored in a 64 bit auxiliary ELF field and glibc reads hwcap as 64 bit. This patch widens elf_hwcap to be 64 bit. Signed-off-by: Steve Capper <steve.capper@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/include')
-rw-r--r--arch/arm64/include/asm/hwcap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/include/asm/hwcap.h b/arch/arm64/include/asm/hwcap.h
index 6d4482fa35bc..e2950b098e76 100644
--- a/arch/arm64/include/asm/hwcap.h
+++ b/arch/arm64/include/asm/hwcap.h
@@ -43,6 +43,6 @@
COMPAT_HWCAP_VFPv3|COMPAT_HWCAP_VFPv4|\
COMPAT_HWCAP_NEON|COMPAT_HWCAP_IDIV)
-extern unsigned int elf_hwcap;
+extern unsigned long elf_hwcap;
#endif
#endif