projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d532e2e
)
mm: migrate: remove unused parameter in migrate_vma_insert_page()
author
Stephen Zhang
<starzhangzsd@gmail.com>
Tue, 15 Dec 2020 03:13:20 +0000
(19:13 -0800)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Tue, 15 Dec 2020 20:13:46 +0000
(12:13 -0800)
"dst" parameter to migrate_vma_insert_page() is not used anymore.
Link:
https://lkml.kernel.org/r/CANubcdUwCAMuUyamG2dkWP=cqSR9MAS=tHLDc95kQkqU-rEnAg@mail.gmail.com
Signed-off-by: Stephen Zhang <starzhangzsd@gmail.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/migrate.c
patch
|
blob
|
history
diff --git
a/mm/migrate.c
b/mm/migrate.c
index
4749e52
..
ee802cb
100644
(file)
--- a/
mm/migrate.c
+++ b/
mm/migrate.c
@@
-2894,8
+2894,7
@@
EXPORT_SYMBOL(migrate_vma_setup);
static void migrate_vma_insert_page(struct migrate_vma *migrate,
unsigned long addr,
struct page *page,
- unsigned long *src,
- unsigned long *dst)
+ unsigned long *src)
{
struct vm_area_struct *vma = migrate->vma;
struct mm_struct *mm = vma->vm_mm;
@@
-3056,8
+3055,7
@@
void migrate_vma_pages(struct migrate_vma *migrate)
mmu_notifier_invalidate_range_start(&range);
}
migrate_vma_insert_page(migrate, addr, newpage,
- &migrate->src[i],
- &migrate->dst[i]);
+ &migrate->src[i]);
continue;
}