Commit 3f124282 authored by Liao Chen's avatar Liao Chen
Browse files

kabi: reserve space for struct irq_work

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



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

reserve space for struct irq_work

Signed-off-by: default avatarLiao Chen <liaochen4@huawei.com>
parent d84a2a68
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@

#include <linux/smp_types.h>
#include <linux/rcuwait.h>
#include <linux/kabi.h>

/*
 * An entry can be in one of four states:
@@ -18,6 +19,10 @@ struct irq_work {
	struct __call_single_node node;
	void (*func)(struct irq_work *);
	struct rcuwait irqwait;
	KABI_RESERVE(1)
	KABI_RESERVE(2)
	KABI_RESERVE(3)
	KABI_RESERVE(4)
};

#define __IRQ_WORK_INIT(_func, _flags) (struct irq_work){	\