]> git.baikalelectronics.ru Git - kernel.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)
commit32212ec2bfe539625bf10550916048b113af1de8
treec602b0f4ba3053b3f596e1f9575bb361528912f7
parentc8c581a4d2db9cffc6541929919913eb4f27b4d4
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