loongarch: numa: fix compile error

Changelog: 修复编译错误
Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn>
This commit is contained in:
tao89959
2026-08-24 14:17:14 +08:00
committed by maoxiaochuan
parent b5202d7a7a
commit dce6bf6c01
+2
View File
@@ -72,6 +72,7 @@ void __init paging_init(void)
free_area_init(max_zone_pfns);
}
#ifndef CONFIG_NUMA
void __init mem_init(void)
{
max_mapnr = max_low_pfn;
@@ -79,6 +80,7 @@ void __init mem_init(void)
memblock_free_all();
}
#endif
void __ref free_initmem(void)
{