]> git.karo-electronics.de Git - linux-beck.git/commit
memblock: Move memblock arrays to static storage in memblock.c and make their size...
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 6 Jul 2010 22:39:06 +0000 (15:39 -0700)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 5 Aug 2010 02:56:12 +0000 (12:56 +1000)
commitbf23c51f1f49d3960f3cd8e3d2e7f943d9c41042
tree6150486aaeb3bc8601fdf61ebfe5b441af1e3fb7
parent4734b594c6ca1be796d30c82d93fdf5160f45124
memblock: Move memblock arrays to static storage in memblock.c and make their size a variable

This is in preparation for having resizable arrays.

Note that we still allocate one more than needed, this is unchanged from
the previous implementation.

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