diff options
Diffstat (limited to 'mm/memory_hotplug.c')
-rw-r--r-- | mm/memory_hotplug.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c index 2ba38bc07b47..c083cf5fd6df 100644 --- a/mm/memory_hotplug.c +++ b/mm/memory_hotplug.c | |||
@@ -627,15 +627,12 @@ int scan_lru_pages(unsigned long start, unsigned long end) | |||
627 | } | 627 | } |
628 | 628 | ||
629 | static struct page * | 629 | static struct page * |
630 | hotremove_migrate_alloc(struct page *page, | 630 | hotremove_migrate_alloc(struct page *page, unsigned long private, int **x) |
631 | unsigned long private, | ||
632 | int **x) | ||
633 | { | 631 | { |
634 | /* This should be improoooooved!! */ | 632 | /* This should be improooooved!! */ |
635 | return alloc_page(GFP_HIGHUSER_PAGECACHE); | 633 | return alloc_page(GFP_HIGHUSER_MOVABLE); |
636 | } | 634 | } |
637 | 635 | ||
638 | |||
639 | #define NR_OFFLINE_AT_ONCE_PAGES (256) | 636 | #define NR_OFFLINE_AT_ONCE_PAGES (256) |
640 | static int | 637 | static int |
641 | do_migrate_range(unsigned long start_pfn, unsigned long end_pfn) | 638 | do_migrate_range(unsigned long start_pfn, unsigned long end_pfn) |