Messages in this thread Patch in this message | | | From | David Howells <> | Subject | [PATCH 2/2] FRV: No ZONE_DMA | Date | Tue, 20 Feb 2007 14:18:49 +0000 |
| |
From: David Howells <dhowells@redhat.com>
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> ---
arch/frv/mm/init.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/arch/frv/mm/init.c b/arch/frv/mm/init.c index 3f3a0ed..4103c2c 100644 --- a/arch/frv/mm/init.c +++ b/arch/frv/mm/init.c @@ -126,8 +126,7 @@ void __init paging_init(void) /* distribute the allocatable pages across the various zones and pass them to the allocator */ - zones_size[ZONE_DMA] = max_low_pfn - min_low_pfn; - zones_size[ZONE_NORMAL] = 0; + zones_size[ZONE_NORMAL] = max_low_pfn - min_low_pfn; #ifdef CONFIG_HIGHMEM zones_size[ZONE_HIGHMEM] = num_physpages - num_mappedpages; #endif - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |