]> 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>
Fri, 7 Oct 2011 06:06:38 +0000 (17:06 +1100)
commit533cad4b4592d6b822abd17dc35cc0c1bf08ffc8
tree1a941bcaaad7c0a7d6ab34269c326b296cea7068
parentf4defb2563763ba66c5fe4ae9c35c5f62ac7eea0
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