Commit 0c579f1d authored by Alexander Viro's avatar Alexander Viro Committed by Linus Torvalds

[PATCH] (5/6) alpha fixes

 - alpha/mm/init.c forgot to set max_pfn
parent 8e073e50
...@@ -283,7 +283,7 @@ paging_init(void) ...@@ -283,7 +283,7 @@ paging_init(void)
unsigned long dma_pfn, high_pfn; unsigned long dma_pfn, high_pfn;
dma_pfn = virt_to_phys((char *)MAX_DMA_ADDRESS) >> PAGE_SHIFT; dma_pfn = virt_to_phys((char *)MAX_DMA_ADDRESS) >> PAGE_SHIFT;
high_pfn = max_low_pfn; high_pfn = max_pfn = max_low_pfn;
if (dma_pfn >= high_pfn) if (dma_pfn >= high_pfn)
zones_size[ZONE_DMA] = high_pfn; zones_size[ZONE_DMA] = high_pfn;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment