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 <[email protected]> Reviewed-by: Stefan Liebler <[email protected]> Acked-by: Alexander Gordeev <[email protected]> Signed-off-by: Heiko Carstens <[email protected]> Signed-off-by: Alexander Gordeev <[email protected]>
1 parent 02ee149 commit 5f95843

File tree

1 file changed

+8
-0
lines changed
  • arch/s390/include/asm

1 file changed

+8
-0
lines changed

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)