powerpc/prom: fix early DEBUG messages
authorChristophe Leroy <christophe.leroy@c-s.fr>
Fri, 14 Dec 2018 10:27:47 +0000 (10:27 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 20 Dec 2018 11:21:20 +0000 (22:21 +1100)
commitb18f0ae92b0a1db565c3e505fa87b6971ad3b641
tree957806541d2a1a756bde5847cee049186b7e8dd7
parente1e71e201703500f708bdeaf64660a2a178cb6a0
powerpc/prom: fix early DEBUG messages

This patch fixes early DEBUG messages in prom.c:
- Use %px instead of %p to see the addresses
- Cast memblock_phys_mem_size() with (unsigned long long) to
avoid build failure when phys_addr_t is not 64 bits.

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