diff options
Diffstat (limited to 'arch/um/kernel')
-rw-r--r-- | arch/um/kernel/mem.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/um/kernel/mem.c b/arch/um/kernel/mem.c index 93121c6d26e5..c95855ba6ab5 100644 --- a/arch/um/kernel/mem.c +++ b/arch/um/kernel/mem.c | |||
@@ -226,7 +226,8 @@ void paging_init(void) | |||
226 | for(i = 0; i < ARRAY_SIZE(zones_size); i++) | 226 | for(i = 0; i < ARRAY_SIZE(zones_size); i++) |
227 | zones_size[i] = 0; | 227 | zones_size[i] = 0; |
228 | 228 | ||
229 | zones_size[ZONE_DMA] = (end_iomem >> PAGE_SHIFT) - (uml_physmem >> PAGE_SHIFT); | 229 | zones_size[ZONE_NORMAL] = (end_iomem >> PAGE_SHIFT) - |
230 | (uml_physmem >> PAGE_SHIFT); | ||
230 | #ifdef CONFIG_HIGHMEM | 231 | #ifdef CONFIG_HIGHMEM |
231 | zones_size[ZONE_HIGHMEM] = highmem >> PAGE_SHIFT; | 232 | zones_size[ZONE_HIGHMEM] = highmem >> PAGE_SHIFT; |
232 | #endif | 233 | #endif |