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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c
index 3a47871a29d9..987abe6375ed 100644
--- a/mm/memory_hotplug.c
+++ b/mm/memory_hotplug.c
@@ -574,8 +574,8 @@ repeat:
574 /* Ok, all of our target is islaoted. 574 /* Ok, all of our target is islaoted.
575 We cannot do rollback at this point. */ 575 We cannot do rollback at this point. */
576 offline_isolated_pages(start_pfn, end_pfn); 576 offline_isolated_pages(start_pfn, end_pfn);
577 /* reset pagetype flags */ 577 /* reset pagetype flags and makes migrate type to be MOVABLE */
578 start_isolate_page_range(start_pfn, end_pfn); 578 undo_isolate_page_range(start_pfn, end_pfn);
579 /* removal success */ 579 /* removal success */
580 zone->present_pages -= offlined_pages; 580 zone->present_pages -= offlined_pages;
581 zone->zone_pgdat->node_present_pages -= offlined_pages; 581 zone->zone_pgdat->node_present_pages -= offlined_pages;