|
@@ -126,8 +126,7 @@ void __init paging_init(void)
|
|
|
|
|
|
/* distribute the allocatable pages across the various zones and pass them to the allocator
|
|
/* distribute the allocatable pages across the various zones and pass them to the allocator
|
|
*/
|
|
*/
|
|
- zones_size[ZONE_DMA] = max_low_pfn - min_low_pfn;
|
|
|
|
- zones_size[ZONE_NORMAL] = 0;
|
|
|
|
|
|
+ zones_size[ZONE_NORMAL] = max_low_pfn - min_low_pfn;
|
|
#ifdef CONFIG_HIGHMEM
|
|
#ifdef CONFIG_HIGHMEM
|
|
zones_size[ZONE_HIGHMEM] = num_physpages - num_mappedpages;
|
|
zones_size[ZONE_HIGHMEM] = num_physpages - num_mappedpages;
|
|
#endif
|
|
#endif
|