提交 017f283f 编写于 作者: Z Zheng Zengkai 提交者: openeuler-sync-bot

x86/fpu: KABI_BROKEN_REMOVE "union fpregs_state state" from struct fpu

hulk inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I5RQLJ

--------------------------------

5a2451f1 ("x86/fpu: Avoid kabi change caused by struct fpu") will
lead to performance degradation of libmicro pthread_create testcase.
Assuming that no 3rd party driver will reach into struct fpu,
replace kabi fix macro from KABI_DEPRECATE to KABI_BROKEN_REMOVE
for element "union fpregs_state state" of struct fpu.
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
(cherry picked from commit b60bbfca)
上级 d789dd35
......@@ -494,8 +494,11 @@ struct fpu {
* context switch and when the kernel uses the FPU. The registers
* are restored from this storage on return to user space if they
* are not longer containing the tasks FPU register state.
*
* For kabi fix:
* Assuming that no 3rd party driver will reach into struct fpu
*/
KABI_DEPRECATE(union fpregs_state, state)
KABI_BROKEN_REMOVE(union fpregs_state state)
KABI_EXTEND(struct fpstate __fpstate)
/*
* WARNING: '__fpstate' is dynamically-sized. Do not put
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册