提交 55f1816a 编写于 作者: W Wang Wensheng 提交者: Zheng Zengkai

mm/sharepool: Fix kabi borken in sp_group_master

hulk inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I5DS9S
CVE: NA

-------------------------------------------------

The sp_group_master structure is used only in sharepool subsys and no
other drivers use it.
Signed-off-by: NWang Wensheng <wangwensheng4@huawei.com>
Reviewed-by: NWeilong Chen <chenweilong@huawei.com>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 b31f7f28
......@@ -10,6 +10,7 @@
#include <linux/hashtable.h>
#include <linux/numa.h>
#include <linux/jump_label.h>
#include <linux/kabi.h>
#define SP_HUGEPAGE (1 << 0)
#define SP_HUGEPAGE_ONLY (1 << 1)
......@@ -172,7 +173,7 @@ struct sp_group_master {
* Used to apply for the shared pool memory of the current process.
* For example, sp_alloc non-share memory or k2task.
*/
struct sp_group *local;
KABI_EXTEND(struct sp_group *local)
};
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册