Message ID | 21585888.EfDdHjke4D@devpool047 (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | Minor improvements for pagewalk code | expand |
diff --git a/mm/pagewalk.c b/mm/pagewalk.c index c67b2532db8f..a06eb100fe4e 100644 --- a/mm/pagewalk.c +++ b/mm/pagewalk.c @@ -517,7 +517,7 @@ int walk_page_range_novma(struct mm_struct *mm, unsigned long start, mmap_assert_locked(walk.mm); - return __walk_page_range(start, end, &walk); + return walk_pgd_range(start, end, &walk); } int walk_page_vma(struct vm_area_struct *vma, const struct mm_walk_ops *ops,
Directly call walk_pgd_range() as that is everything that will actually happen in __walk_page_range() besides checking if the vma is set. Signed-off-by: Rolf Eike Beer <eb@emlix.com> --- mm/pagewalk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)