You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07: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 <tj@kernel.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Yinghai Lu <yinghai@kernel.org>
This commit is contained in:
+1
-4
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user