]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: ability to associate pkey to a vma
authorRam Pai <linuxram@us.ibm.com>
Fri, 19 Jan 2018 01:50:33 +0000 (17:50 -0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 20 Jan 2018 11:59:01 +0000 (22:59 +1100)
commit2143146b401113e6732e8f4da53082546748b1ea
treedd2f86dc2e39316ea4f1bb2e689ec41fbf695480
parente1506e43c39e838eef4ff190e1db9865b4f553e1
powerpc: ability to associate pkey to a vma

arch-independent code expects the arch to  map
a  pkey  into the vma's protection bit setting.
The patch provides that ability.

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