Message ID | 1606985867-9791-2-git-send-email-hejinyang@loongson.cn (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | memory node | expand |
diff --git a/arch/mips/kernel/setup.c b/arch/mips/kernel/setup.c index ca579de..b3a711e 100644 --- a/arch/mips/kernel/setup.c +++ b/arch/mips/kernel/setup.c @@ -639,9 +639,6 @@ static void __init arch_mem_init(char **cmdline_p) early_init_fdt_reserve_self(); early_init_fdt_scan_reserved_mem(); -#ifndef CONFIG_NUMA - memblock_set_node(0, PHYS_ADDR_MAX, &memblock.memory, 0); -#endif bootmem_init(); /*
Seting node for platforms which not need multiple nodes make no sence after we abandoning DISCONTIGMEM. Signed-off-by: Jinyang He <hejinyang@loongson.cn> --- arch/mips/kernel/setup.c | 3 --- 1 file changed, 3 deletions(-)