From: Zheng Zucheng zhengzucheng@huawei.com
Offering: HULK hulk inclusion category: feature bugzilla: 55087 https://gitee.com/openeuler/kernel/issues/I4DDEL
--------------------------------
This reverts commit 5d7eabd898017e2bc2a767f085f314a3d7ce6542. SEG determines that the sched_setscheduler interface is exported by downstream users, hulk follows the community solution.
Signed-off-by: Zheng Zucheng zhengzucheng@huawei.com Reviewed-by: Chen Hui judy.chenhui@huawei.com Signed-off-by: Chen Jun chenjun102@huawei.com --- kernel/sched/core.c | 1 - 1 file changed, 1 deletion(-)
diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 35d3240e7b85..cb5c2f9be849 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -5708,7 +5708,6 @@ int sched_setscheduler(struct task_struct *p, int policy, { return _sched_setscheduler(p, policy, param, true); } -EXPORT_SYMBOL_GPL(sched_setscheduler);
int sched_setattr(struct task_struct *p, const struct sched_attr *attr) {