From: Tang Yizhou tangyizhou@huawei.com
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: Tang Yizhou tangyizhou@huawei.com Reviewed-by: Ding Tianhong dingtianhong@huawei.com Reviewed-by: Kefeng Wangwangkefeng.wang@huawei.com Signed-off-by: Yang Yingliang yangyingliang@huawei.com Reviewed-by: Weilong Chen chenweilong@huawei.com Signed-off-by: Yang Yingliang yangyingliang@huawei.com --- mm/share_pool.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mm/share_pool.c b/mm/share_pool.c index f186efadd3e6c..b5ae71d0f551b 100644 --- a/mm/share_pool.c +++ b/mm/share_pool.c @@ -59,11 +59,11 @@ #define page2kb(page_num) ((page_num) << (PAGE_SHIFT - 10))
/* mdc scene hack */ -int enable_mdc_default_group; +static int __read_mostly enable_mdc_default_group; static const int mdc_default_group_id = 1;
/* share the uva to the whole group */ -int enable_share_k2u_spg; +static int __read_mostly enable_share_k2u_spg;
/* access control mode */ int sysctl_ac_mode = AC_NONE;