Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

mm/memblock: add MEMBLOCK_RSRV_NOINIT into flagname[] array

The commit 77e6c43e137c ("memblock: introduce MEMBLOCK_RSRV_NOINIT flag")
skipped adding this newly introduced memblock flag into flagname[] array,
thus preventing a correct memblock flags output for applicable memblock
regions.

Link: https://lkml.kernel.org/r/20240209030912.1382251-1-anshuman.khandual@arm.com
Fixes: 77e6c43e137c ("memblock: introduce MEMBLOCK_RSRV_NOINIT flag")
Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com>
Reviewed-by: Mike Rapoport <rppt@kernel.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

authored by

Anshuman Khandual and committed by
Andrew Morton
4f155af0 678e54d4

+1
+1
mm/memblock.c
··· 2249 2249 [ilog2(MEMBLOCK_MIRROR)] = "MIRROR", 2250 2250 [ilog2(MEMBLOCK_NOMAP)] = "NOMAP", 2251 2251 [ilog2(MEMBLOCK_DRIVER_MANAGED)] = "DRV_MNG", 2252 + [ilog2(MEMBLOCK_RSRV_NOINIT)] = "RSV_NIT", 2252 2253 }; 2253 2254 2254 2255 static int memblock_debug_show(struct seq_file *m, void *private)