memblock: Add arch function to control coalescing of memblock memory regions
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 6 Jul 2010 22:39:14 +0000 (15:39 -0700)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 5 Aug 2010 02:56:21 +0000 (12:56 +1000)
commitd2cd563ba82c424083b78e0ce97d68bfb04d1242
treeff4ab6de8b6906a6c955aa51c4ee53868dfafc0a
parent142b45a72e221537c1bb1995497fef7cdc439e26
memblock: Add arch function to control coalescing of memblock memory regions

Some archs such as ARM want to avoid coalescing accross things such
as the lowmem/highmem boundary or similar. This provides the option
to control it via an arch callback for which a weak default is provided
which always allows coalescing.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
include/linux/memblock.h
mm/memblock.c