mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +00:00
powerpc/mm: fix erroneous duplicate slb_addr_limit init
Commit67fda38f0d
("powerpc/mm: Move slb_addr_linit to early_init_mmu") moved slb_addr_limit init out of setup_arch(). Commit701101865f
("powerpc/mm: Reduce memory usage for mm_context_t for radix") brought it back into setup_arch() by error. This patch reverts that erroneous regress. Fixes:701101865f
("powerpc/mm: Reduce memory usage for mm_context_t for radix") Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
parent
27e23b5f5f
commit
5ba666d56c
1 changed files with 0 additions and 6 deletions
|
@ -950,12 +950,6 @@ void __init setup_arch(char **cmdline_p)
|
||||||
init_mm.end_data = (unsigned long) _edata;
|
init_mm.end_data = (unsigned long) _edata;
|
||||||
init_mm.brk = klimit;
|
init_mm.brk = klimit;
|
||||||
|
|
||||||
#ifdef CONFIG_PPC_MM_SLICES
|
|
||||||
#if defined(CONFIG_PPC_8xx)
|
|
||||||
init_mm.context.slb_addr_limit = DEFAULT_MAP_WINDOW;
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef CONFIG_SPAPR_TCE_IOMMU
|
#ifdef CONFIG_SPAPR_TCE_IOMMU
|
||||||
mm_iommu_init(&init_mm);
|
mm_iommu_init(&init_mm);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue