]> 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>
Wed, 21 Sep 2011 05:16:14 +0000 (15:16 +1000)
commitdff28790d972572cba9aa99ac747da64befa764b
treed7b1b1127a19fe384d55ffacf12e92635047038b
parenteabdbe89f3a958e3e21a5e3647e4dc215a2cd808
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