hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/IDC9YK -------------------------------- sched_ext: Fix kabi for add "#include <linux/mmu_context.h>" in kernel/sched/sched.h. Fixes: 1e7fb1f1501c ("sched_ext: Make task_can_run_on_remote_rq() use common task_allowed_on_cpu()") Signed-off-by: Zicheng Qu <quzicheng@huawei.com> --- kernel/sched/sched.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h index e9824d607ac2..f0e385c168de 100644 --- a/kernel/sched/sched.h +++ b/kernel/sched/sched.h @@ -44,7 +44,6 @@ #include <linux/lockdep.h> #include <linux/minmax.h> #include <linux/mm.h> -#include <linux/mmu_context.h> #include <linux/module.h> #include <linux/mutex_api.h> #include <linux/plist.h> @@ -70,6 +69,9 @@ #include <linux/wait_bit.h> #include <linux/workqueue_api.h> #include <linux/kabi.h> +#ifndef __GENKSYMS__ +#include <linux/mmu_context.h> +#endif #include <trace/events/power.h> #include <trace/events/sched.h> -- 2.34.1