aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/elf.h
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2013-04-17 13:33:11 -0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-04-26 02:08:16 -0400
commit2171364d1a92d0a101b455315de7a92efb566008 (patch)
treef9950115c41fc580b106d6c836ca567bb9af9b35 /arch/powerpc/include/asm/elf.h
parent6263fb3bd79834411e41acb8b02153e034ab810d (diff)
powerpc: Add HWCAP2 aux entry
We are currently out of free bits in AT_HWCAP. With POWER8, we have several hardware features that we need to advertise. Tested on POWER and x86. Signed-off-by: Michael Neuling <michael@neuling.org> Signed-off-by: Nishanth Aravamudan <nacc@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/elf.h')
-rw-r--r--arch/powerpc/include/asm/elf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/elf.h b/arch/powerpc/include/asm/elf.h
index ac9790fc3836..cc0655a702a7 100644
--- a/arch/powerpc/include/asm/elf.h
+++ b/arch/powerpc/include/asm/elf.h
@@ -61,6 +61,7 @@ typedef elf_vrregset_t elf_fpxregset_t;
61 instruction set this cpu supports. This could be done in userspace, 61 instruction set this cpu supports. This could be done in userspace,
62 but it's not easy, and we've already done it here. */ 62 but it's not easy, and we've already done it here. */
63# define ELF_HWCAP (cur_cpu_spec->cpu_user_features) 63# define ELF_HWCAP (cur_cpu_spec->cpu_user_features)
64# define ELF_HWCAP2 (cur_cpu_spec->cpu_user_features2)
64 65
65/* This yields a string that ld.so will use to load implementation 66/* This yields a string that ld.so will use to load implementation
66 specific libraries for optimization. This is more specific in 67 specific libraries for optimization. This is more specific in