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

Szabolcs Nagy szabolcs.nagy@arm.com
Mon Mar 28 07:42:53 GMT 2022


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


More information about the Libc-alpha mailing list