hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I90837 CVE: NA
-------------------------------
Reserve space for struct worker.
Signed-off-by: Yu Liao liaoyu15@huawei.com --- kernel/workqueue_internal.h | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/kernel/workqueue_internal.h b/kernel/workqueue_internal.h index f6275944ada7..1b57cd5fafa7 100644 --- a/kernel/workqueue_internal.h +++ b/kernel/workqueue_internal.h @@ -11,6 +11,7 @@ #include <linux/workqueue.h> #include <linux/kthread.h> #include <linux/preempt.h> +#include <linux/kabi.h>
struct worker_pool;
@@ -59,6 +60,11 @@ struct worker {
/* used only by rescuers to point to the target workqueue */ struct workqueue_struct *rescue_wq; /* I: the workqueue to rescue */ + + KABI_RESERVE(1) + KABI_RESERVE(2) + KABI_RESERVE(3) + KABI_RESERVE(4) };
/**