diff options
author | Greg Ungerer <gerg@uclinux.org> | 2009-01-28 08:07:19 +0100 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2009-03-24 06:17:41 +0100 |
commit | dffc9efc562b8a2180e86df9f733cb113ba94b33 (patch) | |
tree | 24eac81d4c03348530c7d457f78ae30d46a0c278 /arch/m68knommu | |
parent | Linux 2.6.29 (diff) | |
download | linux-dffc9efc562b8a2180e86df9f733cb113ba94b33.tar.xz linux-dffc9efc562b8a2180e86df9f733cb113ba94b33.zip |
m68knommu: mark all RAM as ZONE_DMA
There is no reason not to put all RAM in ZONE_DMA for these simple
m68k varients (same as the standard MMU m68k code does). With this
in place the usual dma_alloc_coherent() work as expected.
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68knommu')
-rw-r--r-- | arch/m68knommu/mm/init.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/m68knommu/mm/init.c b/arch/m68knommu/mm/init.c index 3bf249c53e41..7befc0c357e0 100644 --- a/arch/m68knommu/mm/init.c +++ b/arch/m68knommu/mm/init.c @@ -111,11 +111,7 @@ void __init paging_init(void) { unsigned long zones_size[MAX_NR_ZONES] = {0, }; - zones_size[ZONE_DMA] = 0 >> PAGE_SHIFT; - zones_size[ZONE_NORMAL] = (end_mem - PAGE_OFFSET) >> PAGE_SHIFT; -#ifdef CONFIG_HIGHMEM - zones_size[ZONE_HIGHMEM] = 0; -#endif + zones_size[ZONE_DMA] = (end_mem - PAGE_OFFSET) >> PAGE_SHIFT; free_area_init(zones_size); } } |