summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-07-11 07:38:12 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-07-11 07:38:12 +0200
commit5b97259220cae53b174817aab6ab1ff1b616aaf3 (patch)
tree69cc121a6a933518bb8c65ad96828d4e1f8778dc /arch/powerpc/mm
parentpowerpc/85xx: drop hypervisor specific board compatibles (diff)
parentpowerpc/perf: Never program book3s PMCs with values >= 0x80000000 (diff)
downloadlinux-5b97259220cae53b174817aab6ab1ff1b616aaf3.tar.xz
linux-5b97259220cae53b174817aab6ab1ff1b616aaf3.zip
Merge branch 'merge' into next
Diffstat (limited to 'arch/powerpc/mm')
-rw-r--r--arch/powerpc/mm/mmu_context_nohash.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/arch/powerpc/mm/mmu_context_nohash.c b/arch/powerpc/mm/mmu_context_nohash.c
index af3d78e19302..928ebe79668b 100644
--- a/arch/powerpc/mm/mmu_context_nohash.c
+++ b/arch/powerpc/mm/mmu_context_nohash.c
@@ -410,17 +410,7 @@ void __init mmu_context_init(void)
} else if (mmu_has_feature(MMU_FTR_TYPE_47x)) {
first_context = 1;
last_context = 65535;
- } else
-#ifdef CONFIG_PPC_BOOK3E_MMU
- if (mmu_has_feature(MMU_FTR_TYPE_3E)) {
- u32 mmucfg = mfspr(SPRN_MMUCFG);
- u32 pid_bits = (mmucfg & MMUCFG_PIDSIZE_MASK)
- >> MMUCFG_PIDSIZE_SHIFT;
- first_context = 1;
- last_context = (1UL << (pid_bits + 1)) - 1;
- } else
-#endif
- {
+ } else {
first_context = 1;
last_context = 255;
}