WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] vtd: fix compilation error on ia64 for 19185:1eb6afc

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] vtd: fix compilation error on ia64 for 19185:1eb6afcad849.
From: "KUWAMURA Shin'ya" <kuwa@xxxxxxxxxxxxxx>
Date: Tue, 10 Feb 2009 11:45:15 +0900 (JST)
Delivery-date: Mon, 09 Feb 2009 18:46:46 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] vtd: fix compilation error on ia64 for 19185:1eb6afcad849., KUWAMURA Shin'ya <=