memblock: Add debug markers at the end of the array
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 6 Jul 2010 22:39:07 +0000 (15:39 -0700)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 5 Aug 2010 02:56:13 +0000 (12:56 +1000)
commit449e8df39d3f94a69deae8341f157f6ef5999015
tree75d797caf68e11d7577218e007bdf6f79326c134
parentbf23c51f1f49d3960f3cd8e3d2e7f943d9c41042
memblock: Add debug markers at the end of the array

Since we allocate one more than needed, why not do a bit of sanity checking
here to ensure we don't walk past the end of the array ?

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