Add HWCAP_LOONGARCH_LSPW from Linux 6.12 to bits/hwcap.h
Florian Weimer
fweimer@redhat.com
Fri Dec 20 06:05:35 GMT 2024
* Joseph Myers:
> Add the new Linux 6.12 HWCAP_LOONGARCH_LSPW to the corresponding
> bits/hwcap.h.
>
> Tested with build-many-glibcs.py for loongarch64-linux-gnu-lp64d.
>
> diff --git a/sysdeps/unix/sysv/linux/loongarch/bits/hwcap.h b/sysdeps/unix/sysv/linux/loongarch/bits/hwcap.h
> index 16d17faecd..fa843f3b8e 100644
> --- a/sysdeps/unix/sysv/linux/loongarch/bits/hwcap.h
> +++ b/sysdeps/unix/sysv/linux/loongarch/bits/hwcap.h
> @@ -36,3 +36,4 @@
> #define HWCAP_LOONGARCH_LBT_ARM (1 << 11)
> #define HWCAP_LOONGARCH_LBT_MIPS (1 << 12)
> #define HWCAP_LOONGARCH_PTW (1 << 13)
> +#define HWCAP_LOONGARCH_LSPW (1 << 14)
Constant matches Linux sources.
Reviewed-by: Florian Weimer <fweimer@redhat.com>
Thanks,
Florian
More information about the Libc-alpha
mailing list