[PATCH OLK-6.6] arch_numa: make node_reclaim_distance_setup static
hulk inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/ID4GC1 -------------------------------- Since node_reclaim_distance_setup is not used by others, make it static. Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202511151421.e3kZPnSA-lkp@intel.com/ Fixes: 5e5d40e65cb5 ("arch_numa: Make node reclaim distance adjustment always available") Signed-off-by: Wupeng Ma <mawupeng1@huawei.com> --- drivers/base/arch_numa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/base/arch_numa.c b/drivers/base/arch_numa.c index f1a86af00d25d..a280af59a821c 100644 --- a/drivers/base/arch_numa.c +++ b/drivers/base/arch_numa.c @@ -191,7 +191,7 @@ void __init setup_per_cpu_areas(void) #endif #define DISTANCE_MAX (1 << DISTANCE_BITS) -int __init node_reclaim_distance_setup(char *str) +static int __init node_reclaim_distance_setup(char *str) { int val; -- 2.43.0
反馈: 您发送到kernel@openeuler.org的补丁/补丁集,已成功转换为PR! PR链接地址: https://gitee.com/openeuler/kernel/pulls/19066 邮件列表地址:https://mailweb.openeuler.org/archives/list/kernel@openeuler.org/message/SAJ... FeedBack: The patch(es) which you have sent to kernel@openeuler.org mailing list has been converted to a pull request successfully! Pull request link: https://gitee.com/openeuler/kernel/pulls/19066 Mailing list address: https://mailweb.openeuler.org/archives/list/kernel@openeuler.org/message/SAJ...
participants (2)
-
patchwork bot -
Wupeng Ma