diff mbox series

Add HWCAP2_AFP, HWCAP2_RPRES from Linux 5.17 to AArch64 bits/hwcap.h

Message ID alpine.DEB.2.22.394.2203251854040.177571@digraph.polyomino.org.uk
State New
Headers show
Series Add HWCAP2_AFP, HWCAP2_RPRES from Linux 5.17 to AArch64 bits/hwcap.h | expand

Commit Message

Joseph Myers March 25, 2022, 6:54 p.m. UTC
Add the new HWCAP2_AFP and HWCAP2_RPRES constants from Linux 5.17.
Tested with build-many-glibcs.py for aarch64-linux-gnu.

Comments

Szabolcs Nagy March 28, 2022, 7:42 a.m. UTC | #1
The 03/25/2022 18:54, Joseph Myers wrote:
> Add the new HWCAP2_AFP and HWCAP2_RPRES constants from Linux 5.17.
> Tested with build-many-glibcs.py for aarch64-linux-gnu.
> 

this is ok for master, thanks.

> 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)
> 
> -- 
> Joseph S. Myers
> joseph@codesourcery.com
diff mbox series

Patch

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)