hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8X87C
--------------------------------
reserve space for struct irqdesc.h:irq_desc
Signed-off-by: Yuntao Liu liuyuntao12@huawei.com --- include/linux/irqdesc.h | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/include/linux/irqdesc.h b/include/linux/irqdesc.h index d9451d456a73..3b23fd86f304 100644 --- a/include/linux/irqdesc.h +++ b/include/linux/irqdesc.h @@ -5,6 +5,7 @@ #include <linux/rcupdate.h> #include <linux/kobject.h> #include <linux/mutex.h> +#include <linux/kabi.h>
/* * Core internal functions to deal with irq descriptors @@ -105,6 +106,8 @@ struct irq_desc { #ifdef CONFIG_HARDIRQS_SW_RESEND struct hlist_node resend_node; #endif + KABI_RESERVE(1) + KABI_RESERVE(2) } ____cacheline_internodealigned_in_smp;
#ifdef CONFIG_SPARSE_IRQ