summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mm/init.c
diff options
context:
space:
mode:
authorAubrey Li <aubrey.li@analog.com>2007-05-21 12:09:11 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-21 18:50:21 +0200
commite3defffe915961cf9c6e1f16486ae83fb7212f29 (patch)
treeb5289f5b9d21535769927f8526b98ce68dc2125a /arch/blackfin/mm/init.c
parentBlackfin arch: add SPI MMC driver support on bf533-stamp, tested on STAMP-BF533 (diff)
downloadlinux-e3defffe915961cf9c6e1f16486ae83fb7212f29.tar.xz
linux-e3defffe915961cf9c6e1f16486ae83fb7212f29.zip
Blackfin arch: ISP1761 doesn't work for USB flash disk
ZONE_DMA is required for some drivers subsystem, such as USB/SCSI. Signed-off-by: Aubrey Li <aubrey.li@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/blackfin/mm/init.c')
-rw-r--r--arch/blackfin/mm/init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/blackfin/mm/init.c b/arch/blackfin/mm/init.c
index 73f72abed432..d6cf1059560d 100644
--- a/arch/blackfin/mm/init.c
+++ b/arch/blackfin/mm/init.c
@@ -116,7 +116,8 @@ void paging_init(void)
{
unsigned long zones_size[MAX_NR_ZONES] = { 0, };
- zones_size[ZONE_NORMAL] = (end_mem - PAGE_OFFSET) >> PAGE_SHIFT;
+ zones_size[ZONE_DMA] = (end_mem - PAGE_OFFSET) >> PAGE_SHIFT;
+ zones_size[ZONE_NORMAL] = 0;
#ifdef CONFIG_HIGHMEM
zones_size[ZONE_HIGHMEM] = 0;
#endif