]> git.karo-electronics.de Git - karo-tx-linux.git/commit
memblock: add memblock_start_of_DRAM()
authorSam Ravnborg <sam@ravnborg.org>
Wed, 28 Sep 2011 00:50:12 +0000 (10:50 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 30 Sep 2011 04:53:24 +0000 (14:53 +1000)
commit202991c94875b444ec08dacdd96b143768a15580
treee34d615be8654596b2fed0e6d66c97747188d8cb
parent3a78239235ae2cbbac835d9c662a1223b3f5b33f
memblock: add memblock_start_of_DRAM()

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 <>
include/linux/memblock.h
mm/memblock.c