mm, gup: fix typo in gup_p4d_range()
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>
Mon, 13 Mar 2017 05:22:13 +0000 (08:22 +0300)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 13 Mar 2017 15:58:09 +0000 (08:58 -0700)
commitce70df089143c49385b4f32f39d41fb50fbf6a7c
treeb5a5ee79349c22299b2ebb84d55c533d15652ea2
parent4495c08e84729385774601b5146d51d9e5849f81
mm, gup: fix typo in gup_p4d_range()

gup_p4d_range() should call gup_pud_range(), not itself.

[ This was not noticed on x86: this is the HAVE_GENERIC_RCU_GUP code
  used by arm[64] and powerpc    - Linus ]

Fixes: c2febafc6773 ("mm: convert generic code to 5-level paging")
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Reported-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Reported-by: Anton Blanchard <anton@samba.org>
Acked-by: Michal Hocko <mhocko@suse.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/gup.c