powerpc: convert to setup_initial_init_mm()
authorKefeng Wang <wangkefeng.wang@huawei.com>
Thu, 8 Jul 2021 01:08:51 +0000 (18:08 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 8 Jul 2021 18:48:21 +0000 (11:48 -0700)
commit6cd7547b360f1a936fd5fc34ef86dc345e242d06
treed8e6e7abb5ef715d8c318dcd03e3eb4d2888b871
parent20f2eccfaade9c118bd9e138e46dec35a1ebfda6
powerpc: convert to setup_initial_init_mm()

Use setup_initial_init_mm() helper to simplify code.

Link: https://lkml.kernel.org/r/20210608083418.137226-12-wangkefeng.wang@huawei.com
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Souptick Joarder <jrdr.linux@gmail.com>
Cc: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/powerpc/kernel/setup-common.c