diff options
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r-- | mm/page_alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index d73bfad1c32f..e1028fae3ebb 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c | |||
@@ -3438,7 +3438,7 @@ static void __init_refok alloc_node_mem_map(struct pglist_data *pgdat) | |||
3438 | mem_map = NODE_DATA(0)->node_mem_map; | 3438 | mem_map = NODE_DATA(0)->node_mem_map; |
3439 | #ifdef CONFIG_ARCH_POPULATES_NODE_MAP | 3439 | #ifdef CONFIG_ARCH_POPULATES_NODE_MAP |
3440 | if (page_to_pfn(mem_map) != pgdat->node_start_pfn) | 3440 | if (page_to_pfn(mem_map) != pgdat->node_start_pfn) |
3441 | mem_map -= pgdat->node_start_pfn; | 3441 | mem_map -= (pgdat->node_start_pfn - ARCH_PFN_OFFSET); |
3442 | #endif /* CONFIG_ARCH_POPULATES_NODE_MAP */ | 3442 | #endif /* CONFIG_ARCH_POPULATES_NODE_MAP */ |
3443 | } | 3443 | } |
3444 | #endif | 3444 | #endif |