]> 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)
commit758f74151012bf2a985982a8f342df60bc1a2661
tree493ff56b6132710d4c10e07620aa8851e968cdbd
parentb43aff00f9ede0e1bebf47b3d0f66e5c458423bf
powerpc/mm: fix erroneous duplicate slb_addr_limit init

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

Commit b1bb67157613 ("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: b1bb67157613 ("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