From: Lin Ruizhe linruizhe@huawei.com
hulk inclusion bugzilla: https://gitee.com/openeuler/kernel/issues/I8PS7G CVE: NA
---------------------------------------------
Add kabi_reserve in irq_common_data irq_chip irq_chip_type in irq.h
Signed-off-by: Lin Ruizhe linruizhe@huawei.com conflicts: include/linux/irq.h Signed-off-by: Lin Yujun linyujun809@huawei.com --- include/linux/irq.h | 8 ++++++++ 1 file changed, 8 insertions(+)
diff --git a/include/linux/irq.h b/include/linux/irq.h index 90081afa10ce..a5a904a1304f 100644 --- a/include/linux/irq.h +++ b/include/linux/irq.h @@ -19,6 +19,7 @@ #include <linux/topology.h> #include <linux/io.h> #include <linux/slab.h> +#include <linux/kabi.h>
#include <asm/irq.h> #include <asm/ptrace.h> @@ -160,6 +161,9 @@ struct irq_common_data { #ifdef CONFIG_GENERIC_IRQ_IPI unsigned int ipi_offset; #endif + KABI_RESERVE(1) + KABI_RESERVE(2) + };
/** @@ -548,6 +552,8 @@ struct irq_chip { void (*irq_nmi_teardown)(struct irq_data *data);
unsigned long flags; + KABI_RESERVE(1) + KABI_RESERVE(2) };
/* @@ -1023,6 +1029,8 @@ struct irq_chip_type { u32 type; u32 mask_cache_priv; u32 *mask_cache; + KABI_RESERVE(1) + KABI_RESERVE(2) };
/**