aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64/kernel/dma-mapping.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ia64/kernel/dma-mapping.c')
-rw-r--r--arch/ia64/kernel/dma-mapping.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/ia64/kernel/dma-mapping.c b/arch/ia64/kernel/dma-mapping.c
new file mode 100644
index 000000000000..086a2aeb0404
--- /dev/null
+++ b/arch/ia64/kernel/dma-mapping.c
@@ -0,0 +1,13 @@
1#include <linux/dma-mapping.h>
2
3/* Set this to 1 if there is a HW IOMMU in the system */
4int iommu_detected __read_mostly;
5
6struct dma_map_ops *dma_ops;
7EXPORT_SYMBOL(dma_ops);
8
9struct dma_map_ops *dma_get_ops(struct device *dev)
10{
11 return dma_ops;
12}
13EXPORT_SYMBOL(dma_get_ops);