VT-d: Fix ia64 build for 20974:3b475d9ed6b5
PATCH 1/1 VT-d: Fix ia64 build for 20974:3b475d9ed6b5
Hi,
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 <[email protected]>
Signature · 1 line
KUWAMURA Shin'ya
# HG changeset patch
# User KUWAMURA Shin'ya <[email protected]> # Date 1267075264 -32400
# Node ID 10528973863d2bfd7a9c4bb551778d5ec77dc16e # Parent 3d8e819241b088376bcf3e55a4cc51eebdfdaf62
VT-d: Fix ia64 build for 20974:3b475d9ed6b5
This patch fixes the following error:
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 <[email protected]>
xen/drivers/passthrough/vtd/iommu.c +4 -0
@@ -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-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel