mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
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 <[email protected]> Signed-off-by: Benjamin Herrenschmidt <[email protected]>
This commit is contained in:
parent
6d03b885f0
commit
5e63cf43af
2 changed files with 7 additions and 1 deletions
|
|
@ -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];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue