]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7027f2ef4cdb7b3443a9ced7dbafa16ee62668ca
tree3b791a74b5b30b721a92c95b8994a5ec4b201126
parent40a84b766228379b8bc3628f31f024b62ae798e8
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