OSDN Git Service

powerpc/prom: move the device tree if not in declared memory.
authorChristophe Leroy <christophe.leroy@c-s.fr>
Mon, 17 Dec 2018 14:18:27 +0000 (14:18 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 20 Dec 2018 11:21:20 +0000 (22:21 +1100)
commitf242e0ac95cadb27527d0b06c957723c9f63dd74
tree3b791a74b5b30b721a92c95b8994a5ec4b201126
parentec2adcd8dd64588cb4bcd1c1e0b86304b9713e73
powerpc/prom: move the device tree if not in declared memory.

If the device tree doesn't reside in the memory which is declared
inside it, it has to be moved as well as this memory will not be
mapped by the kernel.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/prom.c