author: Nico Pache <npache@redhat.com> 2021-09-02 14:58:08 -0700
committer: Linus Torvalds <torvalds@linux-foundation.org> 2021-09-03 09:58:15 -0700
commit: b346075fcf5dda7f9e9ae671703aae60e8a94564
parent: 08678804e0b305bbbf5b756ad365373e5fe885a2
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 71ad97c96075..04021e37120e 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -6715,7 +6715,7 @@ static void __init memmap_init(void)
{
unsigned long start_pfn, end_pfn;
unsigned long hole_pfn = 0;
- int i, j, zone_id, nid;
+ int i, j, zone_id = 0, nid;
for_each_mem_pfn_range(i, MAX_NUMNODES, &start_pfn, &end_pfn, &nid) {
struct pglist_data *node = NODE_DATA(nid);