projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
powerpc/mm: Move slb_addr_linit to early_init_mmu
[linux-2.6-block.git]
/
arch
/
powerpc
/
mm
/
tlb_nohash.c
diff --git
a/arch/powerpc/mm/tlb_nohash.c
b/arch/powerpc/mm/tlb_nohash.c
index ac23dc1c653520d3e152e9807919f5080c408819..088e0a6b5adea5191381efe9cd9221d6c7dead5b 100644
(file)
--- a/
arch/powerpc/mm/tlb_nohash.c
+++ b/
arch/powerpc/mm/tlb_nohash.c
@@
-800,5
+800,11
@@
void __init early_init_mmu(void)
#ifdef CONFIG_PPC_47x
early_init_mmu_47x();
#endif
#ifdef CONFIG_PPC_47x
early_init_mmu_47x();
#endif
+
+#ifdef CONFIG_PPC_MM_SLICES
+#if defined(CONFIG_PPC_8xx)
+ init_mm.context.slb_addr_limit = DEFAULT_MAP_WINDOW;
+#endif
+#endif
}
#endif /* CONFIG_PPC64 */
}
#endif /* CONFIG_PPC64 */