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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c
index c299d083d8e2..3b4975815141 100644
--- a/mm/memory_hotplug.c
+++ b/mm/memory_hotplug.c
@@ -658,8 +658,9 @@ do_migrate_range(unsigned long start_pfn, unsigned long end_pfn)
658 * We can skip free pages. And we can only deal with pages on 658 * We can skip free pages. And we can only deal with pages on
659 * LRU. 659 * LRU.
660 */ 660 */
661 ret = isolate_lru_page(page, &source); 661 ret = isolate_lru_page(page);
662 if (!ret) { /* Success */ 662 if (!ret) { /* Success */
663 list_add_tail(&page->lru, &source);
663 move_pages--; 664 move_pages--;
664 } else { 665 } else {
665 /* Becasue we don't have big zone->lock. we should 666 /* Becasue we don't have big zone->lock. we should