diff options
-rw-r--r-- | arch/x86/mm/init_64.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c index 3ddda59f7087..a9214e6e721a 100644 --- a/arch/x86/mm/init_64.c +++ b/arch/x86/mm/init_64.c | |||
@@ -620,7 +620,9 @@ static void __init zone_sizes_init(void) | |||
620 | #ifdef CONFIG_ZONE_DMA | 620 | #ifdef CONFIG_ZONE_DMA |
621 | max_zone_pfns[ZONE_DMA] = MAX_DMA_PFN; | 621 | max_zone_pfns[ZONE_DMA] = MAX_DMA_PFN; |
622 | #endif | 622 | #endif |
623 | #ifdef CONFIG_ZONE_DMA32 | ||
623 | max_zone_pfns[ZONE_DMA32] = MAX_DMA32_PFN; | 624 | max_zone_pfns[ZONE_DMA32] = MAX_DMA32_PFN; |
625 | #endif | ||
624 | max_zone_pfns[ZONE_NORMAL] = max_pfn; | 626 | max_zone_pfns[ZONE_NORMAL] = max_pfn; |
625 | 627 | ||
626 | free_area_init_nodes(max_zone_pfns); | 628 | free_area_init_nodes(max_zone_pfns); |