aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2007-02-28 23:11:58 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-03-01 17:53:36 -0500
commitfa6427542cfd2811f48186c68057273c6537f261 (patch)
tree7fded318b805c03e2af1e83c46435c8dd923e88b
parentf416885ef4950501dd3858d1afa1137a0c2905c5 (diff)
[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>
-rw-r--r--arch/frv/mm/init.c3
1 files changed, 1 insertions, 2 deletions
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)
126 126
127 /* distribute the allocatable pages across the various zones and pass them to the allocator 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; 129 zones_size[ZONE_NORMAL] = max_low_pfn - min_low_pfn;
130 zones_size[ZONE_NORMAL] = 0;
131#ifdef CONFIG_HIGHMEM 130#ifdef CONFIG_HIGHMEM
132 zones_size[ZONE_HIGHMEM] = num_physpages - num_mappedpages; 131 zones_size[ZONE_HIGHMEM] = num_physpages - num_mappedpages;
133#endif 132#endif