提交 a8dcc232 编写于 作者: W Wang ShaoBo 提交者: Zheng Zengkai

kabi: reserve space for io subsystem related structures

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: NWang ShaoBo <bobo.shaobowang@huawei.com>
Reviewed-by: NCheng Jian <cj.chengjian@huawei.com>
Reviewed-by: NCheng Jian <cj.chengjian@huawei.com>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 3d5a4d13
......@@ -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)
};
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册