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-changelog

[Xen-changelog] [xen-unstable] VT-d: Fix ia64 build for 20974:3b475d9ed6

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] VT-d: Fix ia64 build for 20974:3b475d9ed6b5
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 25 Feb 2010 13:10:19 -0800
Delivery-date: Thu, 25 Feb 2010 13:10:19 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1267098859 0
# Node ID d9db3684f2921645aa00a9247ea9e7512ab3c4d6
# Parent  12a5ca59b175ba152c9223d90547ddd800d40a1f
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/drivers/passthrough/vtd/iommu.c |    4 ++++
 1 files changed, 4 insertions(+)

diff -r 12a5ca59b175 -r d9db3684f292 xen/drivers/passthrough/vtd/iommu.c
--- a/xen/drivers/passthrough/vtd/iommu.c       Thu Feb 25 11:52:23 2010 +0000
+++ b/xen/drivers/passthrough/vtd/iommu.c       Thu Feb 25 11:54:19 2010 +0000
@@ -37,6 +37,10 @@
 #include "dmar.h"
 #include "extern.h"
 #include "vtd.h"
+
+#ifdef __ia64__
+#define nr_ioapics              iosapic_get_nr_iosapics()
+#endif
 
 int nr_iommus;
 static bool_t rwbf_quirk;

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] VT-d: Fix ia64 build for 20974:3b475d9ed6b5, Xen patchbot-unstable <=