Commit da2a40d1 authored by Yang Yingliang's avatar Yang Yingliang Committed by Zheng Zengkai
Browse files

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: default avatarYang Yingliang <yangyingliang@huawei.com>
Reviewed-by: default avatarCheng Jian <cj.chengjian@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent ddf1c09b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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);