]> 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>
Tue, 13 Sep 2011 06:19:26 +0000 (16:19 +1000)
commitc5eccc23ca4e8c8359d298b7948f19f6f504f3e0
treef927ee50810f49b2fcd3da2b3492ce967ee445b5
parentd99c09c69db43fec1c77d8c5345dcfd9bfd0aa81
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