提交 a71ec1b5 编写于 作者: Y Yanan Wang 提交者: openeuler-sync-bot

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: NYanan Wang <wangyanan55@huawei.com>
(cherry picked from commit c0da3054)
上级 6796bf23
...@@ -78,6 +78,6 @@ ...@@ -78,6 +78,6 @@
#define HWCAP2_ECV (1 << 19) #define HWCAP2_ECV (1 << 19)
#define HWCAP2_AFP (1 << 20) #define HWCAP2_AFP (1 << 20)
#define HWCAP2_RPRES (1 << 21) #define HWCAP2_RPRES (1 << 21)
#define HWCAP2_WFXT (1 << 23) #define HWCAP2_WFXT (1UL << 31)
#endif /* _UAPI__ASM_HWCAP_H */ #endif /* _UAPI__ASM_HWCAP_H */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册