From: Lin Ruizhe linruizhe@huawei.com
hulk inclusion bugzilla: https://gitee.com/openeuler/kernel/issues/I8PS7G CVE: NA
---------------------------------------------
Add kabi_reserve tasklet_struct and irq_affinity in interrupt.h
Signed-off-by: Lin Ruizhe linruizhe@huawei.com
conflict: include/linux/interrupt.h
Signed-off-by: Lin Yujun linyujun809@huawei.com --- include/linux/interrupt.h | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h index 4a1dc88ddbff..9aac2ab156ca 100644 --- a/include/linux/interrupt.h +++ b/include/linux/interrupt.h @@ -13,6 +13,8 @@ #include <linux/hrtimer.h> #include <linux/kref.h> #include <linux/workqueue.h> +#include <linux/kabi.h> + #include <linux/jump_label.h>
#include <linux/atomic.h> @@ -289,6 +291,8 @@ struct irq_affinity { unsigned int set_size[IRQ_AFFINITY_MAX_SETS]; void (*calc_sets)(struct irq_affinity *, unsigned int nvecs); void *priv; + KABI_RESERVE(1) + KABI_RESERVE(2) };
/** @@ -650,6 +654,8 @@ struct tasklet_struct void (*callback)(struct tasklet_struct *t); }; unsigned long data; + KABI_RESERVE(1) + KABI_RESERVE(2) };
#define DECLARE_TASKLET(name, _callback) \