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, 1 insertions, 1 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index bf1dd8819097..1958358e29b0 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -1653,7 +1653,7 @@ void __init memmap_init_zone(unsigned long size, int nid, unsigned long zone,
1653 struct page *page; 1653 struct page *page;
1654 1654
1655 for (page = start; page < (start + size); page++) { 1655 for (page = start; page < (start + size); page++) {
1656 set_page_zone(page, NODEZONE(nid, zone)); 1656 set_page_links(page, zone, nid);
1657 set_page_count(page, 0); 1657 set_page_count(page, 0);
1658 reset_page_mapcount(page); 1658 reset_page_mapcount(page);
1659 SetPageReserved(page); 1659 SetPageReserved(page);