UML - Get rid of ZONE_DMA use
PATCH 2/8 UML - Get rid of ZONE_DMA use
ZONE_DMA is now dependent on CONFIG_ZONE_DMA, which UML doesn't define. So, let's change ZONE_DMA to ZONE_NORMAL.
This is prompted by optional-zone_dma-in-the-vm.patch, but should be harmless on its own.
arch/um/kernel/mem.c +2 -1
@@ -226,7 +226,8 @@ void paging_init(void)for (i =0 ; i <ARRAY_SIZE (zones_size); i++) zones_size[i] =0 ; - zones_size[ZONE_DMA ] = (end_iomem >>PAGE_SHIFT ) - (uml_physmem >>PAGE_SHIFT ); + zones_size[ZONE_NORMAL ] = (end_iomem >>PAGE_SHIFT ) - + (uml_physmem >>PAGE_SHIFT );#ifdef CONFIG_HIGHMEM zones_size[ZONE_HIGHMEM ] = highmem >>PAGE_SHIFT ;#endif
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel