summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/slice.h
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/include/asm/slice.h
parent5ba666d56c4ff9b011c1b029dcc689cff8b176fb (diff)
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