[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] fix build when not using grant tables for blkdev.



# HG changeset patch
# User smh22@xxxxxxxxxxxxxxxxxxxx
# Node ID 5c6ef0bec2dfe2347cad4d48f64e36c907f04eb1
# Parent  25e96ea6e4c5dd4a58be72a9b63b75380da524f1

fix build when not using grant tables for blkdev. 

Signed-off-by: Steven Hand <steven@xxxxxxxxxxxxx>

diff -r 25e96ea6e4c5 -r 5c6ef0bec2df 
linux-2.6.11-xen-sparse/drivers/xen/blkback/blkback.c
--- a/linux-2.6.11-xen-sparse/drivers/xen/blkback/blkback.c     Sun Jul 10 
17:32:01 2005
+++ b/linux-2.6.11-xen-sparse/drivers/xen/blkback/blkback.c     Sun Jul 10 
19:16:40 2005
@@ -541,11 +541,12 @@
     else
         remap_prot = _PAGE_PRESENT|_PAGE_DIRTY|_PAGE_ACCESSED;
 
+
     for ( i = 0; i < nseg; i++ )
     {
        MULTI_update_va_mapping_otherdomain(
            mcl+i, MMAP_VADDR(pending_idx, i),
-           pfn_pte_ma(seg[i].buf >> PAGE_SHIFT, remap_prot),
+           pfn_pte_ma(seg[i].buf >> PAGE_SHIFT, __pgprot(remap_prot)),
            0, blkif->domid);
 #ifdef CONFIG_XEN_BLKDEV_TAP_BE
         if ( blkif->is_blktap )

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.