提交 da2a40d1 编写于 作者: Y Yang Yingliang 提交者: Zheng Zengkai

kabi: reserve space for struct cpu_stop_work

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: NYang Yingliang <yangyingliang@huawei.com>
Reviewed-by: NCheng Jian <cj.chengjian@huawei.com>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 ddf1c09b
......@@ -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
......@@ -26,6 +27,7 @@ struct cpu_stop_work {
cpu_stop_fn_t fn;
void *arg;
struct cpu_stop_done *done;
KABI_RESERVE(1)
};
int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册