aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/paca.h
diff options
context:
space:
mode:
authorPeter Bergner <[email protected]>2024-02-14 16:34:06 -0600
committerMichael Ellerman <[email protected]>2024-02-16 12:42:59 +1100
commit3281366a8e79a512956382885091565db1036b64 (patch)
treeef221596b99b983afb6184ff5e034d57759812b7 /arch/powerpc/include/asm/paca.h
parent4b26558415d628ad2c0d3d4ec65156a0c99eaf02 (diff)
uapi/auxvec: Define AT_HWCAP3 and AT_HWCAP4 aux vector, entries
The powerpc toolchain keeps a copy of the HWCAP bit masks in the TCB for fast access by the __builtin_cpu_supports() built-in function. The TCB space for the HWCAP entries - which are created in pairs - is an ABI extension, so waiting to create the space for HWCAP3 and HWCAP4 until they are needed is problematic. Define AT_HWCAP3 and AT_HWCAP4 in the generic uapi header so they can be used in glibc to reserve space in the powerpc TCB for their future use. I scanned through the Linux and GLIBC source codes looking for unused AT_* values and 29 and 30 did not seem to be used, so they are what I went with. Signed-off-by: Peter Bergner <[email protected]> Acked-by: Adhemerval Zanella <[email protected]> Acked-by: Nicholas Piggin <[email protected]> Acked-by: Szabolcs Nagy <[email protected]> Acked-by: Arnd Bergmann <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://msgid.link/[email protected]
Diffstat (limited to 'arch/powerpc/include/asm/paca.h')
0 files changed, 0 insertions, 0 deletions