hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8YRD2
--------------------------------
reserve space for struct irq_work
Signed-off-by: Liao Chen liaochen4@huawei.com --- include/linux/irq_work.h | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/include/linux/irq_work.h b/include/linux/irq_work.h index 8cd11a223260..5b0bc64244f9 100644 --- a/include/linux/irq_work.h +++ b/include/linux/irq_work.h @@ -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){ \