aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2022-03-28 13:16:48 +0000
committerAndreas K. Hüttel <dilfridge@gentoo.org>2022-05-14 23:16:30 +0200
commita0e4335151a9a0814491c555da950de5027ea691 (patch)
tree079ab175d130b3aa92bef2b3a09cea667e2a8d80
parentaarch64: Add HWCAP2_ECV from Linux 5.16 (diff)
downloadglibc-a0e4335151a9a0814491c555da950de5027ea691.tar.gz
glibc-a0e4335151a9a0814491c555da950de5027ea691.tar.bz2
glibc-a0e4335151a9a0814491c555da950de5027ea691.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. (cherry picked from commit 866c599182e87f116440b5d854f9e99533c48eb3) (cherry picked from commit 97cb8227b864b8ea0d99a4a50e4163baad3e1c72)
-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 04cc762015..9a5c4116b3 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)