OSDN Git Service

powerpc/64s: Refactor initialisation after prom
authorNicholas Piggin <npiggin@gmail.com>
Fri, 3 Feb 2023 11:38:57 +0000 (21:38 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 10 Feb 2023 11:17:36 +0000 (22:17 +1100)
commit58f24eea5278cb6078552e16063fdd8b0a1b9676
treebe1267af2bc43a1cc2974df26bd5539331127b22
parent26d53a9c89a8486c5c637cc587e1933a786747d0
powerpc/64s: Refactor initialisation after prom

Move some basic Book3S initialisation after prom to a function similar
to what Book3E looks like. Book3E returns from this function at the
virtual address mapping, and Book3S will do the same in a later change,
so making them look similar helps with that.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20230203113858.1152093-3-npiggin@gmail.com
arch/powerpc/kernel/head_64.S