reserve space for struct irq_work reserve space for enum irq_domain_bus_token reserve space for struct mfd_cell
Liao Chen (3): kabi: reserve space for struct irq_work kabi: reserve space for enum irq_domain_bus_token kabi: reserve space for struct mfd_cell
include/linux/irq_work.h | 5 +++++ include/linux/irqdomain_defs.h | 8 ++++++++ include/linux/mfd/core.h | 6 ++++++ 3 files changed, 19 insertions(+)
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){ \
hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8YRD2
--------------------------------
reserve space for enum irq_domain_bus_token
Signed-off-by: Liao Chen liaochen4@huawei.com --- include/linux/irqdomain_defs.h | 8 ++++++++ 1 file changed, 8 insertions(+)
diff --git a/include/linux/irqdomain_defs.h b/include/linux/irqdomain_defs.h index c29921fd8cd1..5640c6c3c956 100644 --- a/include/linux/irqdomain_defs.h +++ b/include/linux/irqdomain_defs.h @@ -2,6 +2,8 @@ #ifndef _LINUX_IRQDOMAIN_DEFS_H #define _LINUX_IRQDOMAIN_DEFS_H
+#include <linux/kabi.h> + /* * Should several domains have the same device node, but serve * different purposes (for example one domain is for PCI/MSI, and the @@ -26,6 +28,12 @@ enum irq_domain_bus_token { DOMAIN_BUS_DMAR, DOMAIN_BUS_AMDVI, DOMAIN_BUS_PCI_DEVICE_IMS, + DOMAIN_BUS_KABI_RESERVE_1, + DOMAIN_BUS_KABI_RESERVE_2, + DOMAIN_BUS_KABI_RESERVE_3, + DOMAIN_BUS_KABI_RESERVE_4, + DOMAIN_BUS_KABI_RESERVE_5, + DOMAIN_BUS_KABI_RESERVE_6, };
#endif /* _LINUX_IRQDOMAIN_DEFS_H */
hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8YRD2
--------------------------------
reserve space for struct mfd_cell
Signed-off-by: Liao Chen liaochen4@huawei.com --- include/linux/mfd/core.h | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/include/linux/mfd/core.h b/include/linux/mfd/core.h index e8bcad641d8c..b8000884cef2 100644 --- a/include/linux/mfd/core.h +++ b/include/linux/mfd/core.h @@ -11,6 +11,7 @@ #define MFD_CORE_H
#include <linux/platform_device.h> +#include <linux/kabi.h>
#define MFD_RES_SIZE(arr) (sizeof(arr) / sizeof(struct resource))
@@ -118,6 +119,11 @@ struct mfd_cell { */ int num_parent_supplies; const char * const *parent_supplies; + + KABI_RESERVE(1) + KABI_RESERVE(2) + KABI_RESERVE(3) + KABI_RESERVE(4) };
/*
反馈: 您发送到kernel@openeuler.org的补丁/补丁集,已成功转换为PR! PR链接地址: https://gitee.com/openeuler/kernel/pulls/4734 邮件列表地址:https://mailweb.openeuler.org/hyperkitty/list/kernel@openeuler.org/message/M...
FeedBack: The patch(es) which you have sent to kernel@openeuler.org mailing list has been converted to a pull request successfully! Pull request link: https://gitee.com/openeuler/kernel/pulls/4734 Mailing list address: https://mailweb.openeuler.org/hyperkitty/list/kernel@openeuler.org/message/M...