about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2022-03-28 13:16:48 +0000
committerJoseph Myers <joseph@codesourcery.com>2022-03-28 13:16:48 +0000
commit866c599182e87f116440b5d854f9e99533c48eb3 (patch)
treed16c7e6dfeeb48c8571b0409c4cbb1f9289acc63
parent305769b2a15c2e96f9e1b5195d3c4e0d6f0f4b68 (diff)
downloadglibc-866c599182e87f116440b5d854f9e99533c48eb3.tar.gz
glibc-866c599182e87f116440b5d854f9e99533c48eb3.tar.xz
glibc-866c599182e87f116440b5d854f9e99533c48eb3.zip
Add HWCAP2_AFP, HWCAP2_RPRES from Linux 5.17 to AArch64 bits/hwcap.h
Add the new HWCAP2_AFP and HWCAP2_RPRES constants from Linux 5.17.
Tested with build-many-glibcs.py for aarch64-linux-gnu.
-rw-r--r--sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
index 03d57b9afc..a1cf59270f 100644
--- a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
+++ b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
@@ -75,3 +75,5 @@
 #define HWCAP2_BTI		(1 << 17)
 #define HWCAP2_MTE		(1 << 18)
 #define HWCAP2_ECV		(1 << 19)
+#define HWCAP2_AFP		(1 << 20)
+#define HWCAP2_RPRES		(1 << 21)