]> asedeno.scripts.mit.edu Git - linux.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)
commit013a91b39c2d5158cdc5529803f245bbb0526c7c
treedd2f86dc2e39316ea4f1bb2e689ec41fbf695480
parent5586cf61e108019565bb936daeb296e53df1c1d6
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