summaryrefslogtreecommitdiff
path: root/arch/powerpc
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-01-10 00:11:31 +0300
committerChristoph Hellwig <hch@lst.de>2018-01-10 18:41:12 +0300
commitb49efd76248242169f28ffd20ada05064d01ed9f (patch)
tree803f744f3c91b5c26fb708f0bece373ae2e704f0 /arch/powerpc
parentea8c64ace86647260ec4255f483e5844d62af2df (diff)
downloadlinux-b49efd76248242169f28ffd20ada05064d01ed9f.tar.xz
dma-mapping: move dma_mark_clean to dma-direct.h
And unlike the other helpers we don't require a <asm/dma-direct.h> as this helper is a special case for ia64 only, and this keeps it as simple as possible. Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/include/asm/swiotlb.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/include/asm/swiotlb.h b/arch/powerpc/include/asm/swiotlb.h
index 01d45a5fd00b..9341ee804d19 100644
--- a/arch/powerpc/include/asm/swiotlb.h
+++ b/arch/powerpc/include/asm/swiotlb.h
@@ -15,8 +15,6 @@
extern const struct dma_map_ops swiotlb_dma_ops;
-static inline void dma_mark_clean(void *addr, size_t size) {}
-
extern unsigned int ppc_swiotlb_enable;
int __init swiotlb_setup_bus_notifier(void);