Commit cdbf61a3 authored by Yu Liao's avatar Yu Liao Committed by Zheng Zengkai
Browse files

kabi: reserve space for struct worker

hulk inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I4JBL0


CVE: NA

-------------------------------

Reserve space for struct worker.

Signed-off-by: default avatarYu Liao <liaoyu15@huawei.com>
Reviewed-by: default avatarCheng Jian <cj.chengjian@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 80e309c0
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@
#include <linux/workqueue.h>
#include <linux/kthread.h>
#include <linux/preempt.h>
#include <linux/kabi.h>

struct worker_pool;

@@ -57,6 +58,11 @@ struct worker {

	/* used by the scheduler to determine a worker's last known identity */
	work_func_t		last_func;

	KABI_RESERVE(1)
	KABI_RESERVE(2)
	KABI_RESERVE(3)
	KABI_RESERVE(4)
};

/**