mm: Update generic gup implementation to handle hugepage directory
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Wed, 5 Nov 2014 16:27:40 +0000 (21:57 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 14 Nov 2014 06:24:21 +0000 (17:24 +1100)
commitf30c59e921f12b209852e1ddc197dc6a8fb0142b
tree392c066f3053fcf6f4683fbe6da3a0a06b091cc7
parent06743521d0eae1263a09bccb1a92a9fbb94660b3
mm: Update generic gup implementation to handle hugepage directory

Update generic gup implementation with powerpc specific details.
On powerpc at pmd level we can have hugepte, normal pmd pointer
or a pointer to the hugepage directory.

Tested-by: Steve Capper <steve.capper@linaro.org>
Acked-by: Steve Capper <steve.capper@linaro.org>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/page.h
include/linux/hugetlb.h
mm/gup.c