summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2016-07-27 05:19:01 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2016-08-01 03:14:57 +0200
commit5a25b6f527f9f5bbf5747b1b97e538e6d61bd2f2 (patch)
tree892bba1254c0c1249d7e46b2e1b9aa45a490ec07 /arch/powerpc/mm
parentpowerpc/kernel: Check features don't change after patching (diff)
downloadlinux-5a25b6f527f9f5bbf5747b1b97e538e6d61bd2f2.tar.xz
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/mm')
-rw-r--r--arch/powerpc/mm/init_64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/mm/init_64.c b/arch/powerpc/mm/init_64.c
index e0ab33d20a10..6259f5db525b 100644
--- a/arch/powerpc/mm/init_64.c
+++ b/arch/powerpc/mm/init_64.c
@@ -425,7 +425,7 @@ void __init mmu_early_init_devtree(void)
{
/* Disable radix mode based on kernel command line. */
if (disable_radix)
- cur_cpu_spec->mmu_features &= ~MMU_FTR_RADIX;
+ cur_cpu_spec->mmu_features &= ~MMU_FTR_TYPE_RADIX;
if (radix_enabled())
radix__early_init_devtree();