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

[Xen-changelog] [xen-3.4-testing] VT-d: Fix ia64 build for 20974:3b475d9ed6b5



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1272974069 -3600
# Node ID 61458024911374892e2694161aae9b0534586a08
# Parent  5922e6864bc92ccc04aa890dab3ffaacc23437e0
VT-d: Fix ia64 build for 20974:3b475d9ed6b5

This patch fixes the following error on ia64:
  iommu.c: In function 'init_vtd_hw':
  iommu.c:1831: error: 'nr_ioapics' undeclared (first use in this
  function)

Signed-off-by: KUWAMURA Shin'ya <kuwa@xxxxxxxxxxxxxx>
xen-unstable changeset:   20980:d9db3684f292
xen-unstable date:        Thu Feb 25 11:54:19 2010 +0000
---
 xen/drivers/passthrough/vtd/iommu.c |    4 ++++
 1 files changed, 4 insertions(+)

diff -r 5922e6864bc9 -r 614580249113 xen/drivers/passthrough/vtd/iommu.c
--- a/xen/drivers/passthrough/vtd/iommu.c       Mon Apr 26 12:16:27 2010 +0100
+++ b/xen/drivers/passthrough/vtd/iommu.c       Tue May 04 12:54:29 2010 +0100
@@ -134,6 +134,10 @@ void iommu_flush_cache_page(void *addr, 
 {
     __iommu_flush_cache(addr, PAGE_SIZE_4K * npages);
 }
+
+#ifdef __ia64__
+#define nr_ioapics              iosapic_get_nr_iosapics()
+#endif
 
 int nr_iommus;
 /* context entry handling */

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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