diff options
Diffstat (limited to 'mm/memory_hotplug.c')
-rw-r--r-- | mm/memory_hotplug.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c index 2c6523af5473..584fc5588fdd 100644 --- a/mm/memory_hotplug.c +++ b/mm/memory_hotplug.c | |||
@@ -733,7 +733,8 @@ do_migrate_range(unsigned long start_pfn, unsigned long end_pfn) | |||
733 | goto out; | 733 | goto out; |
734 | } | 734 | } |
735 | /* this function returns # of failed pages */ | 735 | /* this function returns # of failed pages */ |
736 | ret = migrate_pages(&source, hotremove_migrate_alloc, 0, 1); | 736 | ret = migrate_pages(&source, hotremove_migrate_alloc, 0, |
737 | 1, true); | ||
737 | if (ret) | 738 | if (ret) |
738 | putback_lru_pages(&source); | 739 | putback_lru_pages(&source); |
739 | } | 740 | } |