Commit a8dcc232 authored by Wang ShaoBo's avatar Wang ShaoBo Committed by Zheng Zengkai
Browse files

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: default avatarWang ShaoBo <bobo.shaobowang@huawei.com>
Reviewed-by: default avatarCheng Jian <cj.chengjian@huawei.com>
Reviewed-by: default avatarCheng Jian <cj.chengjian@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 3d5a4d13
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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)
};

/*