Commit c46ea0a8 authored by David Howells's avatar David Howells Committed by Linus Torvalds

[PATCH] Put memory in DMA zone not Normal zone in FRV arch

The attached patch makes the FR-V arch put all its memory in the DMA zone
rather than the Normal zone since all the memory is available as a DMA
target.
Signed-Off-By: default avatarDavid Howells <dhowells@redhat.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 0918d825
...@@ -125,8 +125,8 @@ void __init paging_init(void) ...@@ -125,8 +125,8 @@ void __init paging_init(void)
/* distribute the allocatable pages across the various zones and pass them to the allocator /* distribute the allocatable pages across the various zones and pass them to the allocator
*/ */
zones_size[ZONE_DMA] = 0 >> PAGE_SHIFT; zones_size[ZONE_DMA] = max_low_pfn - min_low_pfn;
zones_size[ZONE_NORMAL] = max_low_pfn - min_low_pfn; zones_size[ZONE_NORMAL] = 0;
#ifdef CONFIG_HIGHMEM #ifdef CONFIG_HIGHMEM
zones_size[ZONE_HIGHMEM] = num_physpages - num_mappedpages; zones_size[ZONE_HIGHMEM] = num_physpages - num_mappedpages;
#endif #endif
......
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