From c0da30542d813d38a0301b0f67a75c7e40362f27 Mon Sep 17 00:00:00 2001 From: Yanan Wang Date: Fri, 2 Jun 2023 09:07:27 +0800 Subject: [PATCH] arm64: Keep HWCAP2_WFXT uapi consistent with upstream mainline inclusion from mainline-v5.19-rc1 commit b2c4caf3316ce5 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I78WD0 ------------------------------------------------- Currently, the bitfield of HWCAP2_WFXT is (1 << 23) inconsistent with mainline set (1UL << 31). To avoid possible uapi break, keep the bitfield consistent with mainline. Signed-off-by: Yanan Wang --- arch/arm64/include/uapi/asm/hwcap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/include/uapi/asm/hwcap.h b/arch/arm64/include/uapi/asm/hwcap.h index e57bd073e2fe..e3d0ae140705 100644 --- a/arch/arm64/include/uapi/asm/hwcap.h +++ b/arch/arm64/include/uapi/asm/hwcap.h @@ -78,6 +78,6 @@ #define HWCAP2_ECV (1 << 19) #define HWCAP2_AFP (1 << 20) #define HWCAP2_RPRES (1 << 21) -#define HWCAP2_WFXT (1 << 23) +#define HWCAP2_WFXT (1UL << 31) #endif /* _UAPI__ASM_HWCAP_H */ -- GitLab