memblock: Expose some memblock bits for use by x86
authorYinghai Lu <yinghai@kernel.org>
Wed, 28 Jul 2010 05:07:21 +0000 (15:07 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 5 Aug 2010 02:56:27 +0000 (12:56 +1000)
commit5e63cf43af844ed30acc278b38b8c9bc51eba493
tree02706d0ed24d45b94fdc7ac3a823eedd81a82d12
parent6d03b885f0926ab5b66e21307d505afcafa6dced
memblock: Expose some memblock bits for use by x86

This exposes memblock_debug and associated memblock_dbg() macro,
along with memblock_can_resize so that x86 can use these when
ported to use memblock

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