diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2014-11-17 10:37:40 +0000 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2014-11-17 10:43:42 +0000 |
commit | 7d57511d2dba03a8046c8b428dd9192a4bfc1e73 (patch) | |
tree | 75fd94bbbe0a810668c65f950aa085715b463d1b /arch/arm64/include/asm/hwcap.h | |
parent | fb7332a9fedfd62b1ba6530c86f39f0fa38afd49 (diff) | |
download | linux-7d57511d2dba03a8046c8b428dd9192a4bfc1e73.tar.gz linux-7d57511d2dba03a8046c8b428dd9192a4bfc1e73.tar.bz2 linux-7d57511d2dba03a8046c8b428dd9192a4bfc1e73.zip |
arm64: Add COMPAT_HWCAP_LPAE
Commit a469abd0f868 (ARM: elf: add new hwcap for identifying atomic
ldrd/strd instructions) introduces HWCAP_ELF for 32-bit ARM
applications. As LPAE is always present on arm64, report the
corresponding compat HWCAP to user space.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: <stable@vger.kernel.org> # 3.11+
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/include/asm/hwcap.h')
-rw-r--r-- | arch/arm64/include/asm/hwcap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/hwcap.h b/arch/arm64/include/asm/hwcap.h index 024c46183c3c..0ad735166d9f 100644 --- a/arch/arm64/include/asm/hwcap.h +++ b/arch/arm64/include/asm/hwcap.h @@ -30,6 +30,7 @@ #define COMPAT_HWCAP_IDIVA (1 << 17) #define COMPAT_HWCAP_IDIVT (1 << 18) #define COMPAT_HWCAP_IDIV (COMPAT_HWCAP_IDIVA|COMPAT_HWCAP_IDIVT) +#define COMPAT_HWCAP_LPAE (1 << 20) #define COMPAT_HWCAP_EVTSTRM (1 << 21) #define COMPAT_HWCAP2_AES (1 << 0) |