arm64: Add COMPAT_HWCAP_LPAE
authorCatalin Marinas <catalin.marinas@arm.com>
Mon, 17 Nov 2014 10:37:40 +0000 (10:37 +0000)
committerWill Deacon <will.deacon@arm.com>
Mon, 17 Nov 2014 10:43:42 +0000 (10:43 +0000)
commit7d57511d2dba03a8046c8b428dd9192a4bfc1e73
tree75fd94bbbe0a810668c65f950aa085715b463d1b
parentfb7332a9fedfd62b1ba6530c86f39f0fa38afd49
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>
arch/arm64/include/asm/hwcap.h
arch/arm64/kernel/setup.c