summaryrefslogtreecommitdiff
path: root/arch/arm64/include/asm/hwcap.h
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2014-03-03 11:34:45 +0400
committerCatalin Marinas <catalin.marinas@arm.com>2014-03-04 12:05:59 +0400
commit28964d32d495a0753986d464c48c8e1ae73699be (patch)
treeb1a098505b7bc1ae998cbdec31c9b0c15ffbd1a5 /arch/arm64/include/asm/hwcap.h
parent66d6e3b385778c2eef3b172a037235516207393e (diff)
downloadlinux-28964d32d495a0753986d464c48c8e1ae73699be.tar.xz
arm64: add AT_HWCAP2 support for 32-bit compat
Add support for the ELF auxv entry AT_HWCAP2 when running 32-bit ELF binaries in compat mode. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/include/asm/hwcap.h')
-rw-r--r--arch/arm64/include/asm/hwcap.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm64/include/asm/hwcap.h b/arch/arm64/include/asm/hwcap.h
index 6cddbb0c9f54..9a4cbd60c88e 100644
--- a/arch/arm64/include/asm/hwcap.h
+++ b/arch/arm64/include/asm/hwcap.h
@@ -41,7 +41,8 @@
#ifdef CONFIG_COMPAT
#define COMPAT_ELF_HWCAP (compat_elf_hwcap)
-extern unsigned int compat_elf_hwcap;
+#define COMPAT_ELF_HWCAP2 (compat_elf_hwcap2)
+extern unsigned int compat_elf_hwcap, compat_elf_hwcap2;
#endif
extern unsigned long elf_hwcap;