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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 940444c99703..6cff13840c6d 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -2619,11 +2619,11 @@ static void __meminit free_area_init_core(struct pglist_data *pgdat,
2619 " %s zone: %lu pages exceeds realsize %lu\n", 2619 " %s zone: %lu pages exceeds realsize %lu\n",
2620 zone_names[j], memmap_pages, realsize); 2620 zone_names[j], memmap_pages, realsize);
2621 2621
2622 /* Account for reserved DMA pages */ 2622 /* Account for reserved pages */
2623 if (j == ZONE_DMA && realsize > dma_reserve) { 2623 if (j == 0 && realsize > dma_reserve) {
2624 realsize -= dma_reserve; 2624 realsize -= dma_reserve;
2625 printk(KERN_DEBUG " DMA zone: %lu pages reserved\n", 2625 printk(KERN_DEBUG " %s zone: %lu pages reserved\n",
2626 dma_reserve); 2626 zone_names[0], dma_reserve);
2627 } 2627 }
2628 2628
2629 if (!is_highmem_idx(j)) 2629 if (!is_highmem_idx(j))