Skip to contentSkip to conversation

vtd: fix compilation error on ia64 for 19185:1eb6afcad849.

PATCH New KUWAMURA Shin'ya 1 participant 1 message Feb 10, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vtd: fix compilation error on ia64 for 19185:1eb6afcad849.

Hi,

The staging tree 19185:1eb6afcad849 cannot be compiled on ia64:
vtd.c: In function `alloc_pgtable_maddr':
vtd.c:60: error: too few arguments to function `iommu_flush_cache_page'

The attached patch fixes it.

Best regards,

Signature · 1 line
  KUWAMURA Shin'ya

# HG changeset patch
# User KUWAMURA Shin'ya <[email protected]>
# Date 1234225863 -32400
# Node ID 495acb73448a60ecda0c3ca271e07d5730997a8a # Parent 1eb6afcad849550242a6cb874dd20a2515dc6a9a
vtd: fix compilation error on ia64 for 19185:1eb6afcad849.

xen/drivers/passthrough/vtd/ia64/vtd.c +1 -1
diff -r 1eb6afcad849 -r 495acb73448a xen/drivers/passthrough/vtd/ia64/vtd.c
@@ -57,7 +57,7 @@
         return 0;
     memset(vaddr, 0, PAGE_SIZE * npages);
 
-    iommu_flush_cache_page(vaddr);
+    iommu_flush_cache_page(vaddr, npages);
     unmap_domain_page(vaddr);
 
     return page_to_maddr(pg);

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel