]> 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>
Thu, 29 Sep 2011 06:08:05 +0000 (16:08 +1000)
commit1c149c13fa98a334131d9a0d24c192bd72c720da
tree0140d5bc5fc212b39e6fd9db9f9d50a23e31a2b3
parent536ecfa16834756e631a0cecc2e4b625c37626be
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