diff options
-rw-r--r-- | arch/blackfin/Kconfig | 4 | ||||
-rw-r--r-- | arch/blackfin/mm/init.c | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig index d80e5b1d686e..35b33a44677b 100644 --- a/arch/blackfin/Kconfig +++ b/arch/blackfin/Kconfig | |||
@@ -25,6 +25,10 @@ config BLACKFIN | |||
25 | bool | 25 | bool |
26 | default y | 26 | default y |
27 | 27 | ||
28 | config ZONE_DMA | ||
29 | bool | ||
30 | default y | ||
31 | |||
28 | config BFIN | 32 | config BFIN |
29 | bool | 33 | bool |
30 | default y | 34 | default y |
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) | |||
116 | { | 116 | { |
117 | unsigned long zones_size[MAX_NR_ZONES] = { 0, }; | 117 | unsigned long zones_size[MAX_NR_ZONES] = { 0, }; |
118 | 118 | ||
119 | zones_size[ZONE_NORMAL] = (end_mem - PAGE_OFFSET) >> PAGE_SHIFT; | 119 | zones_size[ZONE_DMA] = (end_mem - PAGE_OFFSET) >> PAGE_SHIFT; |
120 | zones_size[ZONE_NORMAL] = 0; | ||
120 | #ifdef CONFIG_HIGHMEM | 121 | #ifdef CONFIG_HIGHMEM |
121 | zones_size[ZONE_HIGHMEM] = 0; | 122 | zones_size[ZONE_HIGHMEM] = 0; |
122 | #endif | 123 | #endif |