aboutsummaryrefslogtreecommitdiffstats
path: root/mm/memory_hotplug.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/memory_hotplug.c')
-rw-r--r--mm/memory_hotplug.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c
index a8c25fd85ee3..bc11888d5d7e 100644
--- a/mm/memory_hotplug.c
+++ b/mm/memory_hotplug.c
@@ -318,7 +318,6 @@ out:
318 return err; 318 return err;
319} 319}
320 320
321#ifdef CONFIG_MEMORY_HOTREMOVE
322/* find the smallest valid pfn in the range [start_pfn, end_pfn) */ 321/* find the smallest valid pfn in the range [start_pfn, end_pfn) */
323static unsigned long find_smallest_section_pfn(int nid, struct zone *zone, 322static unsigned long find_smallest_section_pfn(int nid, struct zone *zone,
324 unsigned long start_pfn, 323 unsigned long start_pfn,
@@ -580,7 +579,6 @@ void __remove_pages(struct zone *zone, unsigned long phys_start_pfn,
580 579
581 set_zone_contiguous(zone); 580 set_zone_contiguous(zone);
582} 581}
583#endif /* CONFIG_MEMORY_HOTREMOVE */
584 582
585int set_online_page_callback(online_page_callback_t callback) 583int set_online_page_callback(online_page_callback_t callback)
586{ 584{