Benjamin Herrenschmidt d2e0d2c51a 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>
2017-08-03 16:06:50 +10:00
..
2017-08-03 16:06:50 +10:00
2017-07-07 13:55:45 -07:00
2017-02-17 22:16:25 +11:00
2015-03-18 10:48:59 +11:00
2015-03-18 10:48:59 +11:00