summaryrefslogtreecommitdiff
path: root/include/uapi/linux/auxvec.h
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2013-04-17 17:33:11 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-04-26 16:08:16 +1000
commit2171364d1a92d0a101b455315de7a92efb566008 (patch)
treef9950115c41fc580b106d6c836ca567bb9af9b35 /include/uapi/linux/auxvec.h
parent6263fb3bd79834411e41acb8b02153e034ab810d (diff)
downloadlwn-2171364d1a92d0a101b455315de7a92efb566008.tar.gz
lwn-2171364d1a92d0a101b455315de7a92efb566008.zip
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 'include/uapi/linux/auxvec.h')
-rw-r--r--include/uapi/linux/auxvec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/auxvec.h b/include/uapi/linux/auxvec.h
index 61594d598e7b..835c065cc7e1 100644
--- a/include/uapi/linux/auxvec.h
+++ b/include/uapi/linux/auxvec.h
@@ -28,6 +28,7 @@
#define AT_BASE_PLATFORM 24 /* string identifying real platform, may
* differ from AT_PLATFORM. */
#define AT_RANDOM 25 /* address of 16 random bytes */
+#define AT_HWCAP2 26 /* extension of AT_HWCAP */
#define AT_EXECFN 31 /* filename of program */