diff options
Diffstat (limited to 'arch/ia64/mm/contig.c')
-rw-r--r-- | arch/ia64/mm/contig.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/ia64/mm/contig.c b/arch/ia64/mm/contig.c index daf977ff2920..82deaa3a7c48 100644 --- a/arch/ia64/mm/contig.c +++ b/arch/ia64/mm/contig.c | |||
@@ -233,6 +233,7 @@ paging_init (void) | |||
233 | efi_memmap_walk(count_pages, &num_physpages); | 233 | efi_memmap_walk(count_pages, &num_physpages); |
234 | 234 | ||
235 | max_dma = virt_to_phys((void *) MAX_DMA_ADDRESS) >> PAGE_SHIFT; | 235 | max_dma = virt_to_phys((void *) MAX_DMA_ADDRESS) >> PAGE_SHIFT; |
236 | memset(max_zone_pfns, 0, sizeof(max_zone_pfns)); | ||
236 | max_zone_pfns[ZONE_DMA] = max_dma; | 237 | max_zone_pfns[ZONE_DMA] = max_dma; |
237 | max_zone_pfns[ZONE_NORMAL] = max_low_pfn; | 238 | max_zone_pfns[ZONE_NORMAL] = max_low_pfn; |
238 | 239 | ||