aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/kernel/mem.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/kernel/mem.c')
-rw-r--r--arch/um/kernel/mem.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/um/kernel/mem.c b/arch/um/kernel/mem.c
index b39e624c3291..b1cd5c6e468b 100644
--- a/arch/um/kernel/mem.c
+++ b/arch/um/kernel/mem.c
@@ -226,7 +226,9 @@ void paging_init(void)
226 for(i=0;i<sizeof(zones_size)/sizeof(zones_size[0]);i++) 226 for(i=0;i<sizeof(zones_size)/sizeof(zones_size[0]);i++)
227 zones_size[i] = 0; 227 zones_size[i] = 0;
228 zones_size[ZONE_DMA] = (end_iomem >> PAGE_SHIFT) - (uml_physmem >> PAGE_SHIFT); 228 zones_size[ZONE_DMA] = (end_iomem >> PAGE_SHIFT) - (uml_physmem >> PAGE_SHIFT);
229#ifdef CONFIG_HIGHMEM
229 zones_size[ZONE_HIGHMEM] = highmem >> PAGE_SHIFT; 230 zones_size[ZONE_HIGHMEM] = highmem >> PAGE_SHIFT;
231#endif
230 free_area_init(zones_size); 232 free_area_init(zones_size);
231 233
232 /* 234 /*