diff options
author | Michal Simek <monstr@monstr.eu> | 2011-12-15 09:24:06 +0100 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2012-03-23 09:28:09 +0100 |
commit | 4e2e4124b7fe68b28e9f759b7ecc0ec16307fce6 (patch) | |
tree | 6fa96fb02f187ee98fd4a8c24d77244d7b5d44e5 /arch/microblaze/mm | |
parent | microblaze: trivial: Fix typo fault in timer.c (diff) | |
download | linux-4e2e4124b7fe68b28e9f759b7ecc0ec16307fce6.tar.xz linux-4e2e4124b7fe68b28e9f759b7ecc0ec16307fce6.zip |
microblaze: mm: Use ZONE_DMA instead of ZONE_NORMAL
We should use ZONE_DMA because all address space is dma-able.
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/mm')
-rw-r--r-- | arch/microblaze/mm/init.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/microblaze/mm/init.c b/arch/microblaze/mm/init.c index 565d193c7ebf..a72f42498c25 100644 --- a/arch/microblaze/mm/init.c +++ b/arch/microblaze/mm/init.c @@ -58,11 +58,7 @@ static void __init paging_init(void) /* Clean every zones */ memset(zones_size, 0, sizeof(zones_size)); - /* - * old: we can DMA to/from any address.put all page into ZONE_DMA - * We use only ZONE_NORMAL - */ - zones_size[ZONE_NORMAL] = max_mapnr; + zones_size[ZONE_DMA] = max_mapnr; free_area_init(zones_size); } |