]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Fix warning in setup_64.c when CONFIG_RELOCATABLE=y
authorMichael Ellerman <michael@ellerman.id.au>
Wed, 10 Jun 2009 19:05:00 +0000 (19:05 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 15 Jun 2009 03:26:21 +0000 (13:26 +1000)
commit3bf0b777c1156f08b4647f6b7d82df1694ac7271
tree804bcfa1408b81bd8da07197c07bd6ba611ede59
parent4a58c67e41e50d6d0487cc9efcd2f4c28b97ab81
powerpc: Fix warning in setup_64.c when CONFIG_RELOCATABLE=y

When CONFIG_RELOCATABLE is enabled, PHYSICAL_START is actually a
variable of type phys_addr_t. That means to print it we need to
cast to unsigned long long and use llx.

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