diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/page_alloc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index b0fda2b9ca76..4a4c399baceb 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c | |||
@@ -5476,7 +5476,8 @@ void __paginginit free_area_init_node(int nid, unsigned long *zones_size, | |||
5476 | #ifdef CONFIG_HAVE_MEMBLOCK_NODE_MAP | 5476 | #ifdef CONFIG_HAVE_MEMBLOCK_NODE_MAP |
5477 | get_pfn_range_for_nid(nid, &start_pfn, &end_pfn); | 5477 | get_pfn_range_for_nid(nid, &start_pfn, &end_pfn); |
5478 | pr_info("Initmem setup node %d [mem %#018Lx-%#018Lx]\n", nid, | 5478 | pr_info("Initmem setup node %d [mem %#018Lx-%#018Lx]\n", nid, |
5479 | (u64)start_pfn << PAGE_SHIFT, ((u64)end_pfn << PAGE_SHIFT) - 1); | 5479 | (u64)start_pfn << PAGE_SHIFT, |
5480 | end_pfn ? ((u64)end_pfn << PAGE_SHIFT) - 1 : 0); | ||
5480 | #endif | 5481 | #endif |
5481 | calculate_node_totalpages(pgdat, start_pfn, end_pfn, | 5482 | calculate_node_totalpages(pgdat, start_pfn, end_pfn, |
5482 | zones_size, zholes_size); | 5483 | zones_size, zholes_size); |