aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/iommu.h
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2011-11-15 14:47:41 +0100
committerJan Beulich <jbeulich@suse.com>2011-11-15 14:47:41 +0100
commit525848a54bd7c76fa59836231368465380909463 (patch)
treec6b9e2df378ccf57f62bb85a487427cb9cf03e05 /xen/include/xen/iommu.h
parent0d20a8e3737ca73ffd793e502d1747b74ee5e3f0 (diff)
downloadxen-525848a54bd7c76fa59836231368465380909463.tar.gz
xen-525848a54bd7c76fa59836231368465380909463.tar.bz2
xen-525848a54bd7c76fa59836231368465380909463.zip
ia64: fix the build
This addresses all remaining build problems introduced over the last several months. Signed-off-by: Jan Beulich <jbeulich@suse.com>
Diffstat (limited to 'xen/include/xen/iommu.h')
-rw-r--r--xen/include/xen/iommu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/xen/include/xen/iommu.h b/xen/include/xen/iommu.h
index 837e60dc28..a905a47d5b 100644
--- a/xen/include/xen/iommu.h
+++ b/xen/include/xen/iommu.h
@@ -35,7 +35,11 @@ extern bool_t iommu_debug;
extern bool_t amd_iommu_perdev_intremap;
/* Does this domain have a P2M table we can use as its IOMMU pagetable? */
+#ifndef __ia64__
#define iommu_use_hap_pt(d) (hap_enabled(d) && iommu_hap_pt_share)
+#else
+#define iommu_use_hap_pt(d) 0
+#endif
extern struct rangeset *mmio_ro_ranges;