From: Yang Yingliang yangyingliang@huawei.com
hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I4JBL0 CVE: NA
-------------------------------
Reserve space for struct cpu_stop_work. Changing this struct will affect set_cpus_allowed_ptr(), so reserve one kabi field.
Signed-off-by: Yang Yingliang yangyingliang@huawei.com conflicts: include/linux/stop_machine.h Signed-off-by: Lin Yujun linyujun809@huawei.com --- include/linux/stop_machine.h | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/include/linux/stop_machine.h b/include/linux/stop_machine.h index ea7a74ea7389..bd81cbe553cc 100644 --- a/include/linux/stop_machine.h +++ b/include/linux/stop_machine.h @@ -6,6 +6,7 @@ #include <linux/cpumask.h> #include <linux/smp.h> #include <linux/list.h> +#include <linux/kabi.h>
/* * stop_cpu[s]() is simplistic per-cpu maximum priority cpu @@ -27,6 +28,8 @@ struct cpu_stop_work { unsigned long caller; void *arg; struct cpu_stop_done *done; + KABI_RESERVE(1) + KABI_RESERVE(2) };
int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg);