|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] VT-d: Fix ia64 build for 20974:3b475d9ed6
# 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 <=
|
|
|
|
|