Skip to content

Commit

Permalink
[PATCH] FRV: No ZONE_DMA
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
dhowells authored and Linus Torvalds committed Mar 1, 2007
1 parent f416885 commit fa64275
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions arch/frv/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fa64275

Please sign in to comment.