dt/flattree: Return virtual address from early_init_dt_alloc_memory_arch()
authorGrant Likely <grant.likely@secretlab.ca>
Thu, 13 Jan 2011 22:36:09 +0000 (15:36 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Sun, 16 Jan 2011 05:01:58 +0000 (22:01 -0700)
commit672c54466d24994eb9633f993862c89539504a42
treee08f17e5fa260676912eb9b7d2263d47d667fdec
parent1b59be2a6cdcb5a12e18d8315c07c94a624de48f
dt/flattree: Return virtual address from early_init_dt_alloc_memory_arch()

The physical address is never used by the device tree code when
allocating memory for unflattening.  Change the architecture's alloc
hook to return the virutal address instead.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
arch/microblaze/kernel/prom.c
arch/mips/kernel/prom.c
arch/powerpc/kernel/prom.c
drivers/of/fdt.c
include/linux/of_fdt.h