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

[Xen-devel] [PATCH] 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.

Signed-off-by: KUWAMURA Shin'ya <kuwa@xxxxxxxxxxxxxx>

Best regards,
-- 
  KUWAMURA Shin'ya
# HG changeset patch
# User KUWAMURA Shin'ya <kuwa@xxxxxxxxxxxxxx>
# Date 1234225863 -32400
# Node ID 495acb73448a60ecda0c3ca271e07d5730997a8a
# Parent  1eb6afcad849550242a6cb874dd20a2515dc6a9a
vtd: fix compilation error on ia64 for 19185:1eb6afcad849.

Signed-off-by: KUWAMURA Shin'ya <kuwa@xxxxxxxxxxxxxx>

diff -r 1eb6afcad849 -r 495acb73448a xen/drivers/passthrough/vtd/ia64/vtd.c
--- a/xen/drivers/passthrough/vtd/ia64/vtd.c    Mon Feb 09 14:23:51 2009 +0000
+++ b/xen/drivers/passthrough/vtd/ia64/vtd.c    Tue Feb 10 09:31:03 2009 +0900
@@ -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
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

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