powerpc/mm/radix: Don't do SLB preload when using the radix MMU
authorAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Tue, 9 Apr 2019 04:03:28 +0000 (09:33 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 20 Apr 2019 12:02:26 +0000 (22:02 +1000)
commitf89bd8ba834e392ff614a7be9ee68c5679675122
tree7bc37fc1e9fe353e04b40e16dd8df759b8cceeaf
parent24c174bb23ebcbe4c3979855b220513f2b3a730f
powerpc/mm/radix: Don't do SLB preload when using the radix MMU

Add radix_enabled() check to avoid SLB preload with radix translation.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/process.c