summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorChristoph Hellwig2018-01-09 22:11:31 +0100
committerChristoph Hellwig2018-01-10 16:41:12 +0100
commitb49efd76248242169f28ffd20ada05064d01ed9f (patch)
tree803f744f3c91b5c26fb708f0bece373ae2e704f0 /arch/powerpc
parentdma-mapping: move swiotlb arch helpers to a new header (diff)
downloadkernel-qcow2-linux-b49efd76248242169f28ffd20ada05064d01ed9f.tar.gz
kernel-qcow2-linux-b49efd76248242169f28ffd20ada05064d01ed9f.tar.xz
kernel-qcow2-linux-b49efd76248242169f28ffd20ada05064d01ed9f.zip
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);