aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/mem.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/mm/mem.c')
-rw-r--r--arch/powerpc/mm/mem.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/mm/mem.c b/arch/powerpc/mm/mem.c
index 26a8da3723bb..9259337d7374 100644
--- a/arch/powerpc/mm/mem.c
+++ b/arch/powerpc/mm/mem.c
@@ -125,7 +125,6 @@ int __ref arch_add_memory(int nid, u64 start, u64 size,
125 return __add_pages(nid, start_pfn, nr_pages, restrictions); 125 return __add_pages(nid, start_pfn, nr_pages, restrictions);
126} 126}
127 127
128#ifdef CONFIG_MEMORY_HOTREMOVE
129void __ref arch_remove_memory(int nid, u64 start, u64 size, 128void __ref arch_remove_memory(int nid, u64 start, u64 size,
130 struct vmem_altmap *altmap) 129 struct vmem_altmap *altmap)
131{ 130{
@@ -151,7 +150,6 @@ void __ref arch_remove_memory(int nid, u64 start, u64 size,
151 pr_warn("Hash collision while resizing HPT\n"); 150 pr_warn("Hash collision while resizing HPT\n");
152} 151}
153#endif 152#endif
154#endif /* CONFIG_MEMORY_HOTPLUG */
155 153
156#ifndef CONFIG_NEED_MULTIPLE_NODES 154#ifndef CONFIG_NEED_MULTIPLE_NODES
157void __init mem_topology_setup(void) 155void __init mem_topology_setup(void)