From: "KUWAMURA Shin'ya" Subject: [PATCH] vtd: fix compilation error on ia64 for 19185:1eb6afcad849. Date: Tue, 10 Feb 2009 11:45:15 +0900 (JST) Message-ID: <20090210.114515.241987082.kuwa@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Tue_Feb_10_11_45_15_2009_037)--" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org ----Next_Part(Tue_Feb_10_11_45_15_2009_037)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Best regards, -- KUWAMURA Shin'ya ----Next_Part(Tue_Feb_10_11_45_15_2009_037)-- Content-Type: Text/X-Patch; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="vtd-fix-compilation-error-on-ia64.patch" # HG changeset patch # User KUWAMURA Shin'ya # Date 1234225863 -32400 # Node ID 495acb73448a60ecda0c3ca271e07d5730997a8a # Parent 1eb6afcad849550242a6cb874dd20a2515dc6a9a vtd: fix compilation error on ia64 for 19185:1eb6afcad849. Signed-off-by: KUWAMURA Shin'ya 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); ----Next_Part(Tue_Feb_10_11_45_15_2009_037)-- Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel ----Next_Part(Tue_Feb_10_11_45_15_2009_037)----