tile: replace ZONE_DMA with ZONE_DMA32
[linux-2.6-block.git] / arch / tile / kernel / setup.c
index ad83c1e66dbd23c5ba46e20c8e5deefdf6f3655e..eb4e198f6f93cbcfc524662b763c167aaca60b81 100644 (file)
@@ -814,11 +814,11 @@ static void __init zone_sizes_init(void)
 #endif
 
                if (start < dma_end) {
-                       zones_size[ZONE_DMA] = min(zones_size[ZONE_NORMAL],
+                       zones_size[ZONE_DMA32] = min(zones_size[ZONE_NORMAL],
                                                   dma_end - start);
-                       zones_size[ZONE_NORMAL] -= zones_size[ZONE_DMA];
+                       zones_size[ZONE_NORMAL] -= zones_size[ZONE_DMA32];
                } else {
-                       zones_size[ZONE_DMA] = 0;
+                       zones_size[ZONE_DMA32] = 0;
                }
 
                /* Take zone metadata from controller 0 if we're isolnode. */
@@ -830,7 +830,7 @@ static void __init zone_sizes_init(void)
                       PFN_UP(node_percpu[i]));
 
                /* Track the type of memory on each node */
-               if (zones_size[ZONE_NORMAL] || zones_size[ZONE_DMA])
+               if (zones_size[ZONE_NORMAL] || zones_size[ZONE_DMA32])
                        node_set_state(i, N_NORMAL_MEMORY);
 #ifdef CONFIG_HIGHMEM
                if (end != start)