aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/mm/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/mm/init.c')
-rw-r--r--arch/sh/mm/init.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/sh/mm/init.c b/arch/sh/mm/init.c
index 13c6a6bb5fd9..dfdbaa50946e 100644
--- a/arch/sh/mm/init.c
+++ b/arch/sh/mm/init.c
@@ -429,7 +429,6 @@ int memory_add_physaddr_to_nid(u64 addr)
429EXPORT_SYMBOL_GPL(memory_add_physaddr_to_nid); 429EXPORT_SYMBOL_GPL(memory_add_physaddr_to_nid);
430#endif 430#endif
431 431
432#ifdef CONFIG_MEMORY_HOTREMOVE
433void arch_remove_memory(int nid, u64 start, u64 size, 432void arch_remove_memory(int nid, u64 start, u64 size,
434 struct vmem_altmap *altmap) 433 struct vmem_altmap *altmap)
435{ 434{
@@ -440,5 +439,4 @@ void arch_remove_memory(int nid, u64 start, u64 size,
440 zone = page_zone(pfn_to_page(start_pfn)); 439 zone = page_zone(pfn_to_page(start_pfn));
441 __remove_pages(zone, start_pfn, nr_pages, altmap); 440 __remove_pages(zone, start_pfn, nr_pages, altmap);
442} 441}
443#endif
444#endif /* CONFIG_MEMORY_HOTPLUG */ 442#endif /* CONFIG_MEMORY_HOTPLUG */