summaryrefslogtreecommitdiffstats
path: root/kernel/arch/ia64/include/asm/swiotlb.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/ia64/include/asm/swiotlb.h')
-rw-r--r--kernel/arch/ia64/include/asm/swiotlb.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/kernel/arch/ia64/include/asm/swiotlb.h b/kernel/arch/ia64/include/asm/swiotlb.h
new file mode 100644
index 000000000..f0acde68a
--- /dev/null
+++ b/kernel/arch/ia64/include/asm/swiotlb.h
@@ -0,0 +1,17 @@
+#ifndef ASM_IA64__SWIOTLB_H
+#define ASM_IA64__SWIOTLB_H
+
+#include <linux/dma-mapping.h>
+#include <linux/swiotlb.h>
+
+#ifdef CONFIG_SWIOTLB
+extern int swiotlb;
+extern void pci_swiotlb_init(void);
+#else
+#define swiotlb 0
+static inline void pci_swiotlb_init(void)
+{
+}
+#endif
+
+#endif /* ASM_IA64__SWIOTLB_H */