From: Fengguang Wu Date: Tue, 30 Oct 2018 22:10:51 +0000 (-0700) Subject: mm/gup.c: fix __get_user_pages_fast() comment X-Git-Tag: v5.15~7679^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2ebe82288b3278b8e538ee8adce4142dbdedd8f6;p=platform%2Fkernel%2Flinux-starfive.git mm/gup.c: fix __get_user_pages_fast() comment mmu_gather_tlb() no longer exists. Replace with mmu_table_batch(). Link: http://lkml.kernel.org/r/20180928053441.rpzwafzlsnp74mkl@wfg-t540p.sh.intel.com Signed-off-by: Fengguang Wu Reviewed-by: Andrew Morton Cc: Jiri Kosina Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/gup.c b/mm/gup.c index 841d7ef..f76e77a 100644 --- a/mm/gup.c +++ b/mm/gup.c @@ -1817,8 +1817,8 @@ int __get_user_pages_fast(unsigned long start, int nr_pages, int write, * interrupts disabled by get_futex_key. * * With interrupts disabled, we block page table pages from being - * freed from under us. See mmu_gather_tlb in asm-generic/tlb.h - * for more details. + * freed from under us. See struct mmu_table_batch comments in + * include/asm-generic/tlb.h for more details. * * We do not adopt an rcu_read_lock(.) here as we also want to * block IPIs that come from THPs splitting.