[PATCH OLK-6.6 v2] sched: remove __GENKSYMS__ used

hulk inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I8ZTTF CVE: NA -------------------------------- Don't use GENKSYMS in baseline kabi version: Fixes: 6eb07f9925a9 ("sched: Introduce smart grid scheduling strategy for cfs") Signed-off-by: Yipeng Zou <zouyipeng@huawei.com> --- include/linux/sched.h | 2 +- kernel/sched/sched.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/sched.h b/include/linux/sched.h index 4f18d4505618..e08f02706615 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -1560,7 +1560,7 @@ struct task_struct { int memstall_type; #endif -#if defined(CONFIG_QOS_SCHED_SMART_GRID) && !defined(__GENKSYMS__) +#if defined(CONFIG_QOS_SCHED_SMART_GRID) struct sched_grid_qos *grid_qos; #endif diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h index bd5d45ba0de8..f721166b400a 100644 --- a/kernel/sched/sched.h +++ b/kernel/sched/sched.h @@ -453,7 +453,7 @@ struct task_group { long tag; #endif -#if defined(CONFIG_QOS_SCHED_SMART_GRID) && !defined(__GENKSYMS__) +#if defined(CONFIG_QOS_SCHED_SMART_GRID) struct auto_affinity *auto_affinity; #endif -- 2.34.1

反馈: 您发送到kernel@openeuler.org的补丁/补丁集,已成功转换为PR! PR链接地址: https://gitee.com/openeuler/kernel/pulls/4385 邮件列表地址:https://mailweb.openeuler.org/hyperkitty/list/kernel@openeuler.org/message/A... FeedBack: The patch(es) which you have sent to kernel@openeuler.org mailing list has been converted to a pull request successfully! Pull request link: https://gitee.com/openeuler/kernel/pulls/4385 Mailing list address: https://mailweb.openeuler.org/hyperkitty/list/kernel@openeuler.org/message/A...
participants (2)
-
patchwork bot
-
Yipeng Zou