powerpc: Fix build issue with CONFIG_RELOCATABLE=y
authorKumar Gala <galak@kernel.crashing.org>
Mon, 20 Oct 2008 03:16:55 +0000 (03:16 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 21 Oct 2008 04:17:49 +0000 (15:17 +1100)
commita3ba68f969b2407b6809a840f6ff45ab0eb06f84
treeb05b5640969ca7bd9a1fa0a0510ed3a7e5ae7d5a
parent0721357d4d04563b6e5c7ffd6b5685df275d5ff9
powerpc: Fix build issue with CONFIG_RELOCATABLE=y

There are two issues when we enable CONFIG_RELOCATABLE.  The first is due
to the fact that phys_addr_t is now defined in linux/types.h.  The second
is due to the fact that the DMA code changes expose memstart_addr to
prom_init.c

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/page.h
arch/powerpc/kernel/prom_init_check.sh