mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
memblock: Add __memblock_dump_all()
Add __memblock_dump_all() which dumps memblock configuration whether memblock_debug is enabled or not. Signed-off-by: Tejun Heo <[email protected]> Cc: Benjamin Herrenschmidt <[email protected]> Cc: Yinghai Lu <[email protected]>
This commit is contained in:
parent
9c8c27e2b8
commit
4ff7b82f1e
2 changed files with 8 additions and 5 deletions
|
|
@ -898,11 +898,8 @@ static void __init_memblock memblock_dump(struct memblock_type *type, char *name
|
|||
}
|
||||
}
|
||||
|
||||
void __init_memblock memblock_dump_all(void)
|
||||
void __init_memblock __memblock_dump_all(void)
|
||||
{
|
||||
if (!memblock_debug)
|
||||
return;
|
||||
|
||||
pr_info("MEMBLOCK configuration:\n");
|
||||
pr_info(" memory size = 0x%llx\n", (unsigned long long)memblock.memory_size);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue