binfmt_elf: add ELF_HWCAP2 to compat auxv entries
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 3 Mar 2014 07:34:44 +0000 (07:34 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 4 Mar 2014 08:05:21 +0000 (08:05 +0000)
commit66d6e3b385778c2eef3b172a037235516207393e
tree3969dcd6d862beac98a6aef57841baddfc25688c
parentbff705950e2cdcf35641dee35eb14bad9ed49e8f
binfmt_elf: add ELF_HWCAP2 to compat auxv entries

Add ELF_HWCAP2 to the set of auxv entries that is passed to
a 32-bit ELF program running in 32-bit compat mode under a
64-bit kernel.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
fs/compat_binfmt_elf.c