]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
mm-rename-the-global-section-array-to-mem_sections-fix-fix
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 2 Jun 2021 03:52:31 +0000 (13:52 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 2 Jun 2021 03:52:31 +0000 (13:52 +1000)
fix another site

Cc: Baoquan He <bhe@redhat.com>
Cc: Dave Young <dyoung@redhat.com>
Cc: Dong Aisheng <aisheng.dong@nxp.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
mm/sparse.c

index 98a020096693ade72f2e165cff7d93806b131b01..b82ab78881b6d8f4979a2723be1b4050f9bda299 100644 (file)
@@ -254,7 +254,7 @@ static void __init memory_present(int nid, unsigned long start, unsigned long en
        unsigned long pfn;
 
 #ifdef CONFIG_SPARSEMEM_EXTREME
-       if (unlikely(!mem_section)) {
+       if (unlikely(!mem_sections)) {
                unsigned long size, align;
 
                size = sizeof(struct mem_section *) * NR_SECTION_ROOTS;