提交 fb9fbb2c 编写于 作者: T Tang Yizhou 提交者: Yang Yingliang

share_pool: Fix warning symbol was not declared

ascend inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I4EUVI
CVE: NA

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

Fix warnings: symbol 'XX' was not declared. Should it be static?
Signed-off-by: NTang Yizhou <tangyizhou@huawei.com>
Reviewed-by: NDing Tianhong <dingtianhong@huawei.com>
Reviewed-by: Kefeng Wang<wangkefeng.wang@huawei.com>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Reviewed-by: NWeilong Chen <chenweilong@huawei.com>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
上级 cf2db84b
...@@ -59,11 +59,11 @@ ...@@ -59,11 +59,11 @@
#define page2kb(page_num) ((page_num) << (PAGE_SHIFT - 10)) #define page2kb(page_num) ((page_num) << (PAGE_SHIFT - 10))
/* mdc scene hack */ /* mdc scene hack */
int enable_mdc_default_group; static int __read_mostly enable_mdc_default_group;
static const int mdc_default_group_id = 1; static const int mdc_default_group_id = 1;
/* share the uva to the whole group */ /* share the uva to the whole group */
int enable_share_k2u_spg; static int __read_mostly enable_share_k2u_spg;
/* access control mode */ /* access control mode */
int sysctl_ac_mode = AC_NONE; int sysctl_ac_mode = AC_NONE;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册