powerpc/mm/radix: Use KUEP API for Radix MMU
authorRussell Currey <ruscur@russell.cc>
Thu, 18 Apr 2019 06:51:22 +0000 (16:51 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 21 Apr 2019 13:06:01 +0000 (23:06 +1000)
commit1bb2bae2e6c7d94e3bc1fdce06baf31b8d811ed6
treec51c5b211f9bac5da304cda127ce82351139d5a1
parentb28c97505eb1a5265e367c398c3406be6ce5e313
powerpc/mm/radix: Use KUEP API for Radix MMU

Execution protection already exists on radix, this just refactors
the radix init to provide the KUEP setup function instead.

Thus, the only functional change is that it can now be disabled.

Signed-off-by: Russell Currey <ruscur@russell.cc>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/pgtable-radix.c
arch/powerpc/platforms/Kconfig.cputype