[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1606985867-9791-2-git-send-email-hejinyang@loongson.cn>
Date: Thu, 3 Dec 2020 16:57:46 +0800
From: Jinyang He <hejinyang@...ngson.cn>
To: Thomas Bogendoerfer <tsbogend@...ha.franken.de>,
Huacai Chen <chenhc@...ote.com>,
Jiaxun Yang <jiaxun.yang@...goat.com>
Cc: linux-mips@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH 1/2] MIPS: Remove unused memblock_set_node
Seting node for platforms which not need multiple nodes make no sence
after we abandoning DISCONTIGMEM.
Signed-off-by: Jinyang He <hejinyang@...ngson.cn>
---
arch/mips/kernel/setup.c | 3 ---
1 file changed, 3 deletions(-)
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();
/*
--
2.1.0
Powered by blists - more mailing lists