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 strateg 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 88dbcbe3d7c1..c3b8d871f66e 100644 --- a/kernel/sched/sched.h +++ b/kernel/sched/sched.h @@ -452,7 +452,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 };