mm/hugetlb: export hugetlb_entry_migration helper
authorAneesh Kumar K.V <[email protected]>
Thu, 6 Jul 2017 22:38:47 +0000 (15:38 -0700)
committerLinus Torvalds <[email protected]>
Thu, 6 Jul 2017 23:24:33 +0000 (16:24 -0700)
commitd5ed7444dafb94b6877410d1b66a846eb7184a09
tree3a73411f08c0ce8bc42789cda82143fa88d01981
parent080dbb618b4bc25883a7654c1e92b2c49e3d6d63
mm/hugetlb: export hugetlb_entry_migration helper

We will be using this later from the ppc64 code.  Change the return type
to bool.

Link: http://lkml.kernel.org/r/1494926612-23928-4-git-send-email-aneesh.kumar@linux.vnet.ibm.com
Signed-off-by: Aneesh Kumar K.V <[email protected]>
Reviewed-by: Naoya Horiguchi <[email protected]>
Cc: Anshuman Khandual <[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/hugetlb.c