summaryrefslogtreecommitdiffstats
path: root/arch/tile
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-01-09 22:11:31 +0100
committerChristoph Hellwig <hch@lst.de>2018-01-10 16:41:12 +0100
commitb49efd76248242169f28ffd20ada05064d01ed9f (patch)
tree803f744f3c91b5c26fb708f0bece373ae2e704f0 /arch/tile
parentea8c64ace86647260ec4255f483e5844d62af2df (diff)
downloadlinux-b49efd76248242169f28ffd20ada05064d01ed9f.tar.gz
linux-b49efd76248242169f28ffd20ada05064d01ed9f.tar.bz2
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/tile')
-rw-r--r--arch/tile/include/asm/dma-mapping.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/tile/include/asm/dma-mapping.h b/arch/tile/include/asm/dma-mapping.h
index 75b8aaa4e70b..d25fce101fc0 100644
--- a/arch/tile/include/asm/dma-mapping.h
+++ b/arch/tile/include/asm/dma-mapping.h
@@ -44,8 +44,6 @@ static inline void set_dma_offset(struct device *dev, dma_addr_t off)
dev->archdata.dma_offset = off;
}
-static inline void dma_mark_clean(void *addr, size_t size) {}
-
#define HAVE_ARCH_DMA_SET_MASK 1
int dma_set_mask(struct device *dev, u64 mask);