powerpc: Print the kernel load address at the end of prom_init()
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 10 Aug 2016 07:29:29 +0000 (17:29 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 10 Aug 2016 09:37:43 +0000 (19:37 +1000)
commit7d70c63c7132eb95e428e945242360233ab23d82
tree1ecb575df5f14a62ee88eb772d604c704ecf82b3
parentc7a318ba868c61fc9be710a4970172d8c2eeb8b9
powerpc: Print the kernel load address at the end of prom_init()

This makes it easier to debug crashes that happen very early before
the kernel takes over Open Firmware by allowing us to relate the OF
reported crashing addresses to offsets within the kernel.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/prom_init.c