aboutsummaryrefslogtreecommitdiffstats
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r--mm/page_alloc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 5c1b8982a6da..1eb683f9b3af 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -1656,6 +1656,8 @@ void __init memmap_init_zone(unsigned long size, int nid, unsigned long zone,
1656 for (pfn = start_pfn; pfn < end_pfn; pfn++, page++) { 1656 for (pfn = start_pfn; pfn < end_pfn; pfn++, page++) {
1657 if (!early_pfn_valid(pfn)) 1657 if (!early_pfn_valid(pfn))
1658 continue; 1658 continue;
1659 if (!early_pfn_in_nid(pfn, nid))
1660 continue;
1659 page = pfn_to_page(pfn); 1661 page = pfn_to_page(pfn);
1660 set_page_links(page, zone, nid, pfn); 1662 set_page_links(page, zone, nid, pfn);
1661 set_page_count(page, 0); 1663 set_page_count(page, 0);