hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8YRD2
--------------------------------
reserve space for struct irq_desc
Signed-off-by: Liao Chen liaochen4@huawei.com --- include/linux/irqdesc.h | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/include/linux/irqdesc.h b/include/linux/irqdesc.h index d9451d456a73..6116f2aedda4 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,10 @@ struct irq_desc { #ifdef CONFIG_HARDIRQS_SW_RESEND struct hlist_node resend_node; #endif + KABI_RESERVE(1) + KABI_RESERVE(2) + KABI_RESERVE(3) + KABI_RESERVE(4) } ____cacheline_internodealigned_in_smp;
#ifdef CONFIG_SPARSE_IRQ