summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/slice.h
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@c-s.fr>2019-04-25 16:29:28 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2019-05-02 17:20:22 +0200
commit02f89aed6b829d73980bb633d9f4e3de9eb45543 (patch)
tree7759c2285e0cd82becbe91894ba1434376f653c8 /arch/powerpc/include/asm/slice.h
parentpowerpc/mm: fix erroneous duplicate slb_addr_limit init (diff)
downloadlinux-02f89aed6b829d73980bb633d9f4e3de9eb45543.tar.xz
linux-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/include/asm/slice.h')
-rw-r--r--arch/powerpc/include/asm/slice.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/powerpc/include/asm/slice.h b/arch/powerpc/include/asm/slice.h
index 44816cbc4198..be8af667098f 100644
--- a/arch/powerpc/include/asm/slice.h
+++ b/arch/powerpc/include/asm/slice.h
@@ -4,9 +4,7 @@
#ifdef CONFIG_PPC_BOOK3S_64
#include <asm/book3s/64/slice.h>
-#elif defined(CONFIG_PPC64)
-#include <asm/nohash/64/slice.h>
-#elif defined(CONFIG_PPC_MMU_NOHASH)
+#elif defined(CONFIG_PPC_MMU_NOHASH_32)
#include <asm/nohash/32/slice.h>
#endif