summaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm/dma-mapping.h
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/arm64/include/asm/dma-mapping.h
parentdma-mapping: move swiotlb arch helpers to a new header (diff)
downloadlinux-b49efd76248242169f28ffd20ada05064d01ed9f.tar.xz
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/arm64/include/asm/dma-mapping.h')
-rw-r--r--arch/arm64/include/asm/dma-mapping.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm64/include/asm/dma-mapping.h b/arch/arm64/include/asm/dma-mapping.h
index 400fa67d3b5a..b7847eb8a7bb 100644
--- a/arch/arm64/include/asm/dma-mapping.h
+++ b/arch/arm64/include/asm/dma-mapping.h
@@ -50,9 +50,5 @@ static inline bool is_device_dma_coherent(struct device *dev)
return dev->archdata.dma_coherent;
}
-static inline void dma_mark_clean(void *addr, size_t size)
-{
-}
-
#endif /* __KERNEL__ */
#endif /* __ASM_DMA_MAPPING_H */