]> 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>
Wed, 5 Oct 2011 07:50:40 +0000 (18:50 +1100)
commit97dba4c5543fea787bd77b9520140cdbab852eb5
tree61339147177cd781a386350e96245bd1bb98fa15
parente28b3fc47c9a9089f41a800c289bc5744c52421d
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