[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] 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 <kuwa@xxxxxxxxxxxxxx> -- KUWAMURA Shin'ya # HG changeset patch # User KUWAMURA Shin'ya <kuwa@xxxxxxxxxxxxxx> # 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 <kuwa@xxxxxxxxxxxxxx> diff -r 3d8e819241b0 -r 10528973863d xen/drivers/passthrough/vtd/iommu.c --- a/xen/drivers/passthrough/vtd/iommu.c Wed Feb 24 20:27:56 2010 +0000 +++ b/xen/drivers/passthrough/vtd/iommu.c Thu Feb 25 14:21:04 2010 +0900 @@ -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 Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |