Skip to content

Commit 5f95843

Browse files
hcahcaAlexander Gordeev
authored andcommitted
s390/hwcaps: Add documentation for HWCAP flags
Describe that some HWCAP bits are reserved to avoid that they will be used by accident. Suggested-by: Stefan Liebler <stli@linux.ibm.com> Reviewed-by: Stefan Liebler <stli@linux.ibm.com> Acked-by: Alexander Gordeev <agordeev@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
1 parent 02ee149 commit 5f95843

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

  • arch/s390/include/asm

arch/s390/include/asm/elf.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,14 @@
9191
/* Keep this the last entry. */
9292
#define R_390_NUM 61
9393

94+
/*
95+
* HWCAP flags - for AT_HWCAP
96+
*
97+
* Bits 32-63 are reserved for use by libc.
98+
* Bit 31 is reserved and will be used by libc to determine if a second
99+
* argument is passed to IFUNC resolvers. This will be implemented when
100+
* there is a need for AT_HWCAP2.
101+
*/
94102
enum {
95103
HWCAP_NR_ESAN3 = 0,
96104
HWCAP_NR_ZARCH = 1,

0 commit comments

Comments
 (0)