diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2017-07-19 14:49:42 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-08-03 16:06:50 +1000 |
commit | d2e0d2c51adf348683e9f87da8298042a519deec (patch) | |
tree | 4e928b134ad6a4109f83d4945806135a56f6a14a /arch/powerpc/kvm/book3s_xive.c | |
parent | b15021d994f09e9309ad37c1821ce4e3ee0cd62d (diff) |
powerpc/mm: Set fault flags earlier
Move out the code that sets FAULT_FLAG_WRITE so the block that check
access permissions can be extracted. While at it also set
FAULT_FLAG_INSTRUCTION which will be used for protection keys.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kvm/book3s_xive.c')
0 files changed, 0 insertions, 0 deletions