aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@c-s.fr>2019-04-25 14:29:28 +0000
committerMichael Ellerman <mpe@ellerman.id.au>2019-05-03 01:20:22 +1000
commit02f89aed6b829d73980bb633d9f4e3de9eb45543 (patch)
tree7759c2285e0cd82becbe91894ba1434376f653c8 /arch/powerpc/platforms
parentpowerpc/mm: fix erroneous duplicate slb_addr_limit init (diff)
downloadlinux-dev-02f89aed6b829d73980bb633d9f4e3de9eb45543.tar.xz
linux-dev-02f89aed6b829d73980bb633d9f4e3de9eb45543.zip
powerpc/mm: no slice for nohash/64
Only nohash/32 and book3s/64 support mm slices. Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms')
-rw-r--r--arch/powerpc/platforms/Kconfig.cputype4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/Kconfig.cputype b/arch/powerpc/platforms/Kconfig.cputype
index 60a7c7095b05..cd28b045c0f3 100644
--- a/arch/powerpc/platforms/Kconfig.cputype
+++ b/arch/powerpc/platforms/Kconfig.cputype
@@ -391,6 +391,10 @@ config PPC_MMU_NOHASH
def_bool y
depends on !PPC_BOOK3S
+config PPC_MMU_NOHASH_32
+ def_bool y
+ depends on PPC_MMU_NOHASH && PPC32
+
config PPC_BOOK3E_MMU
def_bool y
depends on FSL_BOOKE || PPC_BOOK3E