]> git.karo-electronics.de Git - karo-tx-linux.git/commit
memblock: add memblock_start_of_DRAM()
authorSam Ravnborg <sam@ravnborg.org>
Wed, 5 Oct 2011 00:42:59 +0000 (11:42 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 6 Oct 2011 05:59:42 +0000 (16:59 +1100)
commitb289b563e94d8a44748808232a5fc03d3ce34829
tree2b2ace0908bd6877a88aa32224ff0644dd866390
parentcd29aa8a2cb869739b538a66170ac012b8d1e787
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 <akpm@linux-foundation.org>
include/linux/memblock.h
mm/memblock.c