diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2010-02-25 11:54:19 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2010-02-25 11:54:19 +0000 |
commit | d421338ccc43c606326be459664d6881c3deec46 (patch) | |
tree | 15b9b0985573cb7ccd9285aaeb0246407681498a | |
parent | 039950d904b0a95d1ae6238cd3c80013756adad9 (diff) | |
download | xen-d421338ccc43c606326be459664d6881c3deec46.tar.gz xen-d421338ccc43c606326be459664d6881c3deec46.tar.bz2 xen-d421338ccc43c606326be459664d6881c3deec46.zip |
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@jp.fujitsu.com>
-rw-r--r-- | xen/drivers/passthrough/vtd/iommu.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xen/drivers/passthrough/vtd/iommu.c b/xen/drivers/passthrough/vtd/iommu.c index fd77b014ba..460e7032cc 100644 --- a/xen/drivers/passthrough/vtd/iommu.c +++ b/xen/drivers/passthrough/vtd/iommu.c @@ -38,6 +38,10 @@ #include "extern.h" #include "vtd.h" +#ifdef __ia64__ +#define nr_ioapics iosapic_get_nr_iosapics() +#endif + int nr_iommus; static bool_t rwbf_quirk; |