bitkeeper revision 1.1159.223.70 (4205e5daVr3OnfNS5GMFcoc8j80ODQ)
authoriap10@freefall.cl.cam.ac.uk <iap10@freefall.cl.cam.ac.uk>
Sun, 6 Feb 2005 09:39:38 +0000 (09:39 +0000)
committeriap10@freefall.cl.cam.ac.uk <iap10@freefall.cl.cam.ac.uk>
Sun, 6 Feb 2005 09:39:38 +0000 (09:39 +0000)
trivial fix to the ioremap for local pages

linux-2.6.10-xen-sparse/arch/xen/i386/mm/ioremap.c

index b9034505b5f7faf886f63159245a957e6478b48e..efd4663bcc46b293390f7f973961cb85ffe4a9cf 100644 (file)
@@ -129,7 +129,7 @@ void __iomem * __ioremap(unsigned long phys_addr, unsigned long size, unsigned l
        if (direct_remap_area_pages(&init_mm, (unsigned long) addr, phys_addr,
                                    size, __pgprot(_PAGE_PRESENT | _PAGE_RW |
                                                   _PAGE_DIRTY | _PAGE_ACCESSED
-                                                  | flags), DOMID_IO)) {
+                                                  | flags), domid)) {
                vunmap((void __force *) addr);
                return NULL;
        }