Commit fa6427542cfd2811f48186c68057273c6537f261
Committed by
Linus Torvalds
1 parent
f416885ef4
[PATCH] FRV: No ZONE_DMA
FRV does not require a ZONE_DMA, so all DMA'able pages that aren't highmem should be in ZONE_NORMAL. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Showing 1 changed file with 1 additions and 2 deletions Side-by-side Diff
arch/frv/mm/init.c
... | ... | @@ -126,8 +126,7 @@ |
126 | 126 | |
127 | 127 | /* distribute the allocatable pages across the various zones and pass them to the allocator |
128 | 128 | */ |
129 | - zones_size[ZONE_DMA] = max_low_pfn - min_low_pfn; | |
130 | - zones_size[ZONE_NORMAL] = 0; | |
129 | + zones_size[ZONE_NORMAL] = max_low_pfn - min_low_pfn; | |
131 | 130 | #ifdef CONFIG_HIGHMEM |
132 | 131 | zones_size[ZONE_HIGHMEM] = num_physpages - num_mappedpages; |
133 | 132 | #endif |