From: David Howells Date: Thu, 1 Mar 2007 04:11:58 +0000 (-0800) Subject: [PATCH] FRV: No ZONE_DMA X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=fa6427542cfd2811f48186c68057273c6537f261;p=linux-beck.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/frv/mm/init.c b/arch/frv/mm/init.c index 3f3a0ed3539b..4103c2c487f3 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