]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm: fix erroneous duplicate slb_addr_limit init
authorChristophe Leroy <christophe.leroy@c-s.fr>
Thu, 25 Apr 2019 14:29:27 +0000 (14:29 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 2 May 2019 15:20:22 +0000 (01:20 +1000)
commit57751ce1e4fbdfc5838b6c95421f28a72714c8bc
tree493ff56b6132710d4c10e07620aa8851e968cdbd
parenta9e6cf1e04194189b9ad129ce10ad3080ee24126
powerpc/mm: fix erroneous duplicate slb_addr_limit init

Commit 6a07c5209547 ("powerpc/mm: Move slb_addr_linit to
early_init_mmu") moved slb_addr_limit init out of setup_arch().

Commit 02ee92f389ab ("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: 02ee92f389ab ("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>
arch/powerpc/kernel/setup-common.c