ARM: Allow arm_memblock_steal() to remove memory from any RAM region
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 12 Aug 2012 23:22:28 +0000 (00:22 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 12 Aug 2012 23:22:28 +0000 (00:22 +0100)
commit7ac68a4c1de6aac5b0bb231fe6d8505ebe5686d9
tree5a708c8cf6a18ec3c0395da8a136d61403e6f1e6
parent5b7cc3df955cf510a0d4174553fe0410f9fbdd4a
ARM: Allow arm_memblock_steal() to remove memory from any RAM region

Allow arm_memblock_steal() to remove memory from any RAM region,
including highmem areas.  This allows memory to be stolen from the
very top of declared memory, including highmem areas, rather than
our precious lowmem.

Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/init.c