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

Commit 55ca9206 authored by Amit Pundir's avatar Amit Pundir
Browse files

ANDROID: task_mmu: fix get_user_pages_remote() call



Fix get_user_pages_remote() call to align with upstream commit
5b56d49f ("mm: add locked parameter to get_user_pages_remote()") changes.

Signed-off-by: default avatarAmit Pundir <amit.pundir@linaro.org>
parent 66f6e4c3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -153,7 +153,7 @@ static void seq_print_vma_name(struct seq_file *m, struct vm_area_struct *vma)
		struct page *page;

		pages_pinned = get_user_pages_remote(current, mm,
				page_start_vaddr, 1, 0, &page, NULL);
				page_start_vaddr, 1, 0, &page, NULL, NULL);
		if (pages_pinned < 1) {
			seq_puts(m, "<fault>]");
			return;