mm, gup: fix typo in gup_p4d_range()
authorKirill A. Shutemov <[email protected]>
Mon, 13 Mar 2017 05:22:13 +0000 (08:22 +0300)
committerLinus Torvalds <[email protected]>
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 <[email protected]>
Reported-by: Chris Packham <[email protected]>
Reported-by: Anton Blanchard <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Acked-by: Mark Rutland <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/gup.c