From 3645bdf87b29abe1764fef34cae369115d7862c3 Mon Sep 17 00:00:00 2001 From: Li Nan Date: Thu, 24 Apr 2025 20:56:25 +0800 Subject: [PATCH] enalbe memblock_debug as default --- mm/memblock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/memblock.c b/mm/memblock.c index e8a2a1537d6a..e432c817b030 100644 --- a/mm/memblock.c +++ b/mm/memblock.c @@ -155,7 +155,7 @@ static __refdata struct memblock_type *memblock_memory = &memblock.memory; pr_info(fmt, ##__VA_ARGS__); \ } while (0) -static int memblock_debug __initdata_memblock; +static int memblock_debug __initdata_memblock = 1; static bool system_has_some_mirror __initdata_memblock; static int memblock_can_resize __initdata_memblock; static int memblock_memory_in_slab __initdata_memblock; -- Gitee