Commit d85c6db4 authored by Stephen Zhang's avatar Stephen Zhang Committed by Linus Torvalds

mm: migrate: remove unused parameter in migrate_vma_insert_page()

"dst" parameter to migrate_vma_insert_page() is not used anymore.

Link: https://lkml.kernel.org/r/CANubcdUwCAMuUyamG2dkWP=cqSR9MAS=tHLDc95kQkqU-rEnAg@mail.gmail.comSigned-off-by: default avatarStephen Zhang <starzhangzsd@gmail.com>
Reviewed-by: default avatarDavid Hildenbrand <david@redhat.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent d532e2e5
...@@ -2894,8 +2894,7 @@ EXPORT_SYMBOL(migrate_vma_setup); ...@@ -2894,8 +2894,7 @@ EXPORT_SYMBOL(migrate_vma_setup);
static void migrate_vma_insert_page(struct migrate_vma *migrate, static void migrate_vma_insert_page(struct migrate_vma *migrate,
unsigned long addr, unsigned long addr,
struct page *page, struct page *page,
unsigned long *src, unsigned long *src)
unsigned long *dst)
{ {
struct vm_area_struct *vma = migrate->vma; struct vm_area_struct *vma = migrate->vma;
struct mm_struct *mm = vma->vm_mm; struct mm_struct *mm = vma->vm_mm;
...@@ -3056,8 +3055,7 @@ void migrate_vma_pages(struct migrate_vma *migrate) ...@@ -3056,8 +3055,7 @@ void migrate_vma_pages(struct migrate_vma *migrate)
mmu_notifier_invalidate_range_start(&range); mmu_notifier_invalidate_range_start(&range);
} }
migrate_vma_insert_page(migrate, addr, newpage, migrate_vma_insert_page(migrate, addr, newpage,
&migrate->src[i], &migrate->src[i]);
&migrate->dst[i]);
continue; continue;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment