summaryrefslogtreecommitdiff
path: root/arch/powerpc/mm/hash_utils_64.c
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2014-07-10 06:29:20 +0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-07-28 08:10:23 +0400
commit13b3d13b813ab834fac67dc05f8b86dbcc29c134 (patch)
treeeb13d92d8920a73e5152be63cd4fb5622e65e3ad /arch/powerpc/mm/hash_utils_64.c
parent376af5947c0e441ccbf98f0212d4ffbf171528f6 (diff)
downloadlinux-13b3d13b813ab834fac67dc05f8b86dbcc29c134.tar.xz
powerpc: Remove MMU_FTR_SLB
We now only support cpus that use an SLB, so we don't need an MMU feature to indicate that. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/mm/hash_utils_64.c')
-rw-r--r--arch/powerpc/mm/hash_utils_64.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/powerpc/mm/hash_utils_64.c b/arch/powerpc/mm/hash_utils_64.c
index fb8bea71327d..6b7c1c824cf9 100644
--- a/arch/powerpc/mm/hash_utils_64.c
+++ b/arch/powerpc/mm/hash_utils_64.c
@@ -828,8 +828,7 @@ void __init early_init_mmu(void)
htab_initialize();
/* Initialize SLB management */
- if (mmu_has_feature(MMU_FTR_SLB))
- slb_initialize();
+ slb_initialize();
}
#ifdef CONFIG_SMP
@@ -840,8 +839,7 @@ void early_init_mmu_secondary(void)
mtspr(SPRN_SDR1, _SDR1);
/* Initialize SLB */
- if (mmu_has_feature(MMU_FTR_SLB))
- slb_initialize();
+ slb_initialize();
}
#endif /* CONFIG_SMP */