summaryrefslogtreecommitdiffstats
path: root/arch/ia64/include/asm/swiotlb.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-12-24 13:57:08 +0100
committerChristoph Hellwig <hch@lst.de>2018-01-15 09:35:53 +0100
commit4fac8076df854aa4ddb8acbf6cce9d337300219e (patch)
tree5bc357f2c2b646a18c09b2a89d14ebb2b70954de /arch/ia64/include/asm/swiotlb.h
parentia64: use generic swiotlb_ops (diff)
downloadlinux-4fac8076df854aa4ddb8acbf6cce9d337300219e.tar.xz
linux-4fac8076df854aa4ddb8acbf6cce9d337300219e.zip
ia64: clean up swiotlb support
Move the few remaining bits of swiotlb glue towards their callers, and remove the pointless on ia64 swiotlb variable. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'arch/ia64/include/asm/swiotlb.h')
-rw-r--r--arch/ia64/include/asm/swiotlb.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/arch/ia64/include/asm/swiotlb.h b/arch/ia64/include/asm/swiotlb.h
deleted file mode 100644
index 841e2c7d0b21..000000000000
--- a/arch/ia64/include/asm/swiotlb.h
+++ /dev/null
@@ -1,18 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-#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 */