mm/follow_page_mask: add support for hugetlb pgd entries
authorAnshuman Khandual <[email protected]>
Thu, 6 Jul 2017 22:38:50 +0000 (15:38 -0700)
committerLinus Torvalds <[email protected]>
Thu, 6 Jul 2017 23:24:33 +0000 (16:24 -0700)
commitfaaa5b62d3f7907e217b179556038f9f8e157ee0
treecfbe5a1a2bac22c215bbb2599330017cfdac1916
parentd5ed7444dafb94b6877410d1b66a846eb7184a09
mm/follow_page_mask: add support for hugetlb pgd entries

ppc64 supports pgd hugetlb entries.  Add code to handle hugetlb pgd
entries to follow_page_mask so that ppc64 can switch to it to handle
hugetlbe entries.

Link: http://lkml.kernel.org/r/1494926612-23928-5-git-send-email-aneesh.kumar@linux.vnet.ibm.com
Signed-off-by: Anshuman Khandual <[email protected]>
Signed-off-by: Aneesh Kumar K.V <[email protected]>
Cc: Naoya Horiguchi <[email protected]>
Cc: Michael Ellerman <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Mike Kravetz <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/hugetlb.h
mm/gup.c
mm/hugetlb.c