[openib-general] 2.6.11 backport update

Hal Rosenstock halr at voltaire.com
Mon Aug 8 15:05:08 PDT 2005


Hi Michael,

One more change is now needed to mthca to support 2.6.11 backport for
the below to the mthca patch. Are you still maintaing this ?

-- Hal


Index: mthca_provider.c
===================================================================
-- mthca_provider.c    (revision 2907)
+++ mthca_provider.c    (revision 2908)
@@ -350,9 +350,9 @@
 
        vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
 
-       if (remap_pfn_range(vma, vma->vm_start,
-                           to_mucontext(context)->uar.pfn,
-                           PAGE_SIZE, vma->vm_page_prot))
+       if (io_remap_pfn_range(vma, vma->vm_start,
+                              to_mucontext(context)->uar.pfn,
+                              PAGE_SIZE, vma->vm_page_prot))
                return -EAGAIN;
 
        return 0;




More information about the general mailing list