[PATCH 3/3] arm: export arm_add_memory

Russell King - ARM Linux linux at arm.linux.org.uk
Fri Jan 8 11:39:05 EST 2010


On Thu, Jan 07, 2010 at 02:39:21PM +1100, Jeremy Kerr wrote:
> We'd like to add memory from the device tree, so make arm_add_memory
> non-static and add a prototype in setup.h
> 
> Signed-off-by: Jeremy Kerr <jeremy.kerr at canonical.com>

I've been thinking about this a bit, and rather than indirecting the
DT stuff through an inline function, I think we should rename the
function instead to something that's compatible with DT.  Yes, that
means changing the arguments, but in the longer term, we're likely
to need to pass more than 32-bits of memory start/size to the kernel.



More information about the linux-arm-kernel mailing list