]> 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)
commit8462c7d776baa56f6de6257fa97dabdc53f574a8
treeb1607abe00f500dd4efa56371eb659adb1bf2b68
parentdf1c8eb8a925c7e76a2e6bf823fa2dccfc952a2d
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