]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
powerpc/mm/hugetlb: Use pte_access_permitted for hugetlb access check
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Mon, 4 Dec 2017 02:19:10 +0000 (07:49 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 22 Dec 2017 11:28:31 +0000 (22:28 +1100)
commit5fa5b16be5b319184378870467352eab6700b1de
treec602b0f4ba3053b3f596e1f9575bb361528912f7
parent7e4363550c2599a90f55fe3c538a7cf99fe4f473
powerpc/mm/hugetlb: Use pte_access_permitted for hugetlb access check

No functional change in this patch. This update gup_hugepte to use the
helper. This will help later when we add memory keys.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/hugetlbpage.c