diff options
author | Yinghai Lu <yinghai@kernel.org> | 2010-07-28 07:07:21 +0200 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-08-05 04:56:27 +0200 |
commit | 5e63cf43af844ed30acc278b38b8c9bc51eba493 (patch) | |
tree | 02706d0ed24d45b94fdc7ac3a823eedd81a82d12 /mm/memblock.c | |
parent | memblock: Add debugfs files to dump the arrays content (diff) | |
download | linux-5e63cf43af844ed30acc278b38b8c9bc51eba493.tar.xz linux-5e63cf43af844ed30acc278b38b8c9bc51eba493.zip |
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>
Diffstat (limited to 'mm/memblock.c')
-rw-r--r-- | mm/memblock.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mm/memblock.c b/mm/memblock.c index cc15be29fd0a..5499ab162b9d 100644 --- a/mm/memblock.c +++ b/mm/memblock.c @@ -22,7 +22,8 @@ struct memblock memblock; -static int memblock_debug, memblock_can_resize; +int memblock_debug; +int memblock_can_resize; static struct memblock_region memblock_memory_init_regions[INIT_MEMBLOCK_REGIONS + 1]; static struct memblock_region memblock_reserved_init_regions[INIT_MEMBLOCK_REGIONS + 1]; |