Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2632fea9 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "mm: pagewalk: call pte_hole() for VM_PFNMAP during walk_page_range"

parents ab7d4e6c 7fa16c63
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -199,7 +199,10 @@ int walk_page_range(unsigned long addr, unsigned long end,
			 */
			if ((vma->vm_start <= addr) &&
			    (vma->vm_flags & VM_PFNMAP)) {
				next = vma->vm_end;
				if (walk->pte_hole)
					err = walk->pte_hole(addr, next, walk);
				if (err)
					break;
				pgd = pgd_offset(walk->mm, next);
				continue;
			}