]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf2045bd9556935a383f8b9395c3574287967ea86
tree0a458e4facd8dddb1647aa4c4ae2b2d17be393bb
parent730a79fcbb7a13f25586864d5f3c2597846c9b03
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