From: Wang ShaoBo bobo.shaobowang@huawei.com
hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I4KFY7?from=project-issue CVE: NA
-------------------------------
Reserve space for the structures in io subsystem.
Signed-off-by: Wang ShaoBo bobo.shaobowang@huawei.com Reviewed-by: Cheng Jian cj.chengjian@huawei.com Reviewed-by: Cheng Jian cj.chengjian@huawei.com Signed-off-by: Zheng Zengkai zhengzengkai@huawei.com --- include/linux/ioport.h | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/include/linux/ioport.h b/include/linux/ioport.h index eee569900c7d..3930f564f207 100644 --- a/include/linux/ioport.h +++ b/include/linux/ioport.h @@ -13,6 +13,7 @@ #include <linux/compiler.h> #include <linux/types.h> #include <linux/bits.h> +#include <linux/kabi.h> /* * Resources are tree-like, allowing * nesting etc.. @@ -24,6 +25,10 @@ struct resource { unsigned long flags; unsigned long desc; struct resource *parent, *sibling, *child; + KABI_RESERVE(1) + KABI_RESERVE(2) + KABI_RESERVE(3) + KABI_RESERVE(4) };
/*