summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>2024-01-27 11:07:49 +0100
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2024-01-27 11:07:49 +0100
commitc91c6b2f08afb7be111678ceade563158c9a31ba (patch)
tree898f9811472e810eb23ea3500cfab1b8ec92dbb9 /arch
parent4bf2a626dc4bb46f0754d8ac02ec8584ff114ad5 (diff)
Revert "MIPS: loongson64: set nid for reserved memblock region"
This reverts commit ce7b1b97776ec0b068c4dd6b6dbb48ae09a23519. Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/loongson64/init.c2
-rw-r--r--arch/mips/loongson64/numa.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/arch/mips/loongson64/init.c b/arch/mips/loongson64/init.c
index 000ba91c0886..f25caa6aa9d3 100644
--- a/arch/mips/loongson64/init.c
+++ b/arch/mips/loongson64/init.c
@@ -103,8 +103,6 @@ void __init szmem(unsigned int node)
if (loongson_sysconf.vgabios_addr)
memblock_reserve(virt_to_phys((void *)loongson_sysconf.vgabios_addr),
SZ_256K);
- /* set nid for reserved memory */
- memblock_set_node((u64)node << 44, (u64)(node+1) << 44, &memblock.reserved, node);
}
#ifndef CONFIG_NUMA
diff --git a/arch/mips/loongson64/numa.c b/arch/mips/loongson64/numa.c
index 6345e096c532..8f61e93c0c5b 100644
--- a/arch/mips/loongson64/numa.c
+++ b/arch/mips/loongson64/numa.c
@@ -132,8 +132,6 @@ static void __init node_mem_init(unsigned int node)
/* Reserve pfn range 0~node[0]->node_start_pfn */
memblock_reserve(0, PAGE_SIZE * start_pfn);
- /* set nid for reserved memory on node 0 */
- memblock_set_node(0, (u64)1 << 44, &memblock.reserved, 1);
}
}