]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: implementation for arch_vma_access_permitted()
authorRam Pai <linuxram@us.ibm.com>
Fri, 19 Jan 2018 01:50:39 +0000 (17:50 -0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 20 Jan 2018 11:59:04 +0000 (22:59 +1100)
commite70acc9c08b75c0cb852977475ebd70fbb4607da
treeb1607abe00f500dd4efa56371eb659adb1bf2b68
parent6a7b22eeef3e3a64d352acb0c926902e3bf951f5
powerpc: implementation for arch_vma_access_permitted()

This patch provides the implementation for
arch_vma_access_permitted(). Returns true if the
requested access is allowed by pkey associated with the
vma.

Signed-off-by: Ram Pai <linuxram@us.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/mmu_context.h
arch/powerpc/mm/pkeys.c