about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2023-10-17 13:13:27 +0000
committerWilco Dijkstra <wilco.dijkstra@arm.com>2024-04-10 14:03:07 +0100
commit5456ff5d80e45741a73cf9fa792d789a1ed17a09 (patch)
tree2bb447a6b307840276498c8f1c2bbac5af869bdd
parent0518bb0c16cb5986aaf35cf5e634964d7a06978b (diff)
downloadglibc-5456ff5d80e45741a73cf9fa792d789a1ed17a09.tar.gz
glibc-5456ff5d80e45741a73cf9fa792d789a1ed17a09.tar.xz
glibc-5456ff5d80e45741a73cf9fa792d789a1ed17a09.zip
Add HWCAP2_MOPS from Linux 6.5 to AArch64 bits/hwcap.h
Linux 6.5 adds a new AArch64 HWCAP2 value, HWCAP2_MOPS.  Add it to
glibc's bits/hwcap.h.

Tested with build-many-glibcs.py for aarch64-linux-gnu.

(cherry picked from commit ff5d2abd18629e0efac41e31699cdff3be0e08fa)
-rw-r--r--sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
index 55c7ed39be..b251c2d417 100644
--- a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
+++ b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
@@ -98,3 +98,4 @@
 #define HWCAP2_SME_BI32I32	(1UL << 40)
 #define HWCAP2_SME_B16B16	(1UL << 41)
 #define HWCAP2_SME_F16F16	(1UL << 42)
+#define HWCAP2_MOPS		(1UL << 43)