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>
xen-unstable changeset: 20980:
d9db3684f292
xen-unstable date: Thu Feb 25 11:54:19 2010 +0000
__iommu_flush_cache(addr, PAGE_SIZE_4K * npages);
}
+#ifdef __ia64__
+#define nr_ioapics iosapic_get_nr_iosapics()
+#endif
+
int nr_iommus;
/* context entry handling */
static u64 bus_to_context_maddr(struct iommu *iommu, u8 bus)