提交 3922e762 编写于 作者: X Xiaochen Shen

sched: Fix kABI for task->pasid_activated

category: bugfix
bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I596WO
CVE: NA

Intel-SIG: sched: Fix kABI for task->pasid_activated.

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

In commit
("sched: Define and initialize a flag to identify valid PASID in the task"),
a new single bit field 'pasid_activated' is added to the middle of
'struct task_struct' that causes kABI breakage.

Fix it by using KABI_FILL_HOLE() API for task->pasid_activated.
Signed-off-by: NXiaochen Shen <xiaochen.shen@intel.com>
上级 7b61c8bf
......@@ -873,7 +873,7 @@ struct task_struct {
unsigned in_memstall:1;
#endif
#ifdef CONFIG_IOMMU_SVA
unsigned pasid_activated:1;
KABI_FILL_HOLE(unsigned pasid_activated:1)
#endif
unsigned long atomic_flags; /* Flags requiring atomic access. */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册