summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/book3s/64/mmu.h
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2016-07-27 13:19:01 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2016-08-01 11:14:57 +1000
commit5a25b6f527f9f5bbf5747b1b97e538e6d61bd2f2 (patch)
tree892bba1254c0c1249d7e46b2e1b9aa45a490ec07 /arch/powerpc/include/asm/book3s/64/mmu.h
parenta28e46f109c9637b2539b9995078d5df4f7f6c09 (diff)
downloadlinux-5a25b6f527f9f5bbf5747b1b97e538e6d61bd2f2.tar.gz
linux-5a25b6f527f9f5bbf5747b1b97e538e6d61bd2f2.tar.bz2
linux-5a25b6f527f9f5bbf5747b1b97e538e6d61bd2f2.zip
powerpc/mm: Make MMU_FTR_RADIX a MMU family feature
MMU feature bits are defined such that we use the lower half to present MMU family features. Remove the strict split of half and also move Radix to a mmu family feature. Radix introduce a new MMU model and strictly speaking it is a new MMU family. This also free up bits which can be used for individual features later. Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/book3s/64/mmu.h')
-rw-r--r--arch/powerpc/include/asm/book3s/64/mmu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/book3s/64/mmu.h b/arch/powerpc/include/asm/book3s/64/mmu.h
index 9ee00c2576d0..ad2d501cddcf 100644
--- a/arch/powerpc/include/asm/book3s/64/mmu.h
+++ b/arch/powerpc/include/asm/book3s/64/mmu.h
@@ -24,7 +24,7 @@ struct mmu_psize_def {
extern struct mmu_psize_def mmu_psize_defs[MMU_PAGE_COUNT];
#ifdef CONFIG_PPC_RADIX_MMU
-#define radix_enabled() mmu_has_feature(MMU_FTR_RADIX)
+#define radix_enabled() mmu_has_feature(MMU_FTR_TYPE_RADIX)
#else
#define radix_enabled() (0)
#endif