]> git.karo-electronics.de Git - karo-tx-linux.git/commit
SPARC32 require access to the start address. Add a new helper
authorSam Ravnborg <sam@ravnborg.org>
Wed, 24 Aug 2011 23:47:13 +0000 (09:47 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 1 Sep 2011 03:28:51 +0000 (13:28 +1000)
commit0844ca0f72641c52a2833da32c7cd84d6ea658b8
treea0a69341b5e33e83b2fa7d6aa4ff90b803d7b28d
parente68ff0c9fb1412e48c1b994dd810d9b0d571b31b
SPARC32 require access to the start address.  Add a new helper
memblock_start_of_DRAM() to give access to the address of the first
memblock - which contains the lowest address.

The awkward name was chosen to match the already present
memblock_end_of_DRAM().

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Yinghai Lu <yinghai@kernel.org>
Acked-by: Tejun Heo <tj@kernel.org>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/memblock.h
mm/memblock.c