Commit a71ec1b5 authored by Yanan Wang's avatar Yanan Wang Committed by openeuler-sync-bot
Browse files

arm64: Keep HWCAP2_WFXT uapi consistent with upstream

mainline inclusion
from mainline-v5.19-rc1
commit b2c4caf3
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: default avatarYanan Wang <wangyanan55@huawei.com>
(cherry picked from commit c0da3054)
parent 6796bf23
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 */