powerpc: Move epapr_paravirt_early_init() to early_init_devtree()
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 5 Jul 2016 05:03:44 +0000 (15:03 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 11 Jul 2016 10:09:40 +0000 (20:09 +1000)
commitda6a97bf12d57e341029b3624ed112175ecff514
tree0a458e4facd8dddb1647aa4c4ae2b2d17be393bb
parent63c254a501049f70c53aea602525c6912362079e
powerpc: Move epapr_paravirt_early_init() to early_init_devtree()

The function is called by both 32-bit and 64-bit early setup right
after early_init_devtree(). All it does is run yet another early
DT parser which is precisely what early_init_devtree() is about,
so move it in there.

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