Commit 5f95843d authored by Heiko Carstens's avatar Heiko Carstens Committed by Alexander Gordeev
Browse files

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: default avatarStefan Liebler <stli@linux.ibm.com>
Reviewed-by: default avatarStefan Liebler <stli@linux.ibm.com>
Acked-by: default avatarAlexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
Signed-off-by: default avatarAlexander Gordeev <agordeev@linux.ibm.com>
parent 02ee1491
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -91,6 +91,14 @@
/* Keep this the last entry.  */
#define R_390_NUM	61

/*
 * HWCAP flags - for AT_HWCAP
 *
 * Bits 32-63 are reserved for use by libc.
 * Bit 31 is reserved and will be used by libc to determine if a second
 * argument is passed to IFUNC resolvers. This will be implemented when
 * there is a need for AT_HWCAP2.
 */
enum {
	HWCAP_NR_ESAN3		= 0,
	HWCAP_NR_ZARCH		= 1,