diff options
author | Christoph Hellwig <hch@lst.de> | 2018-01-09 22:11:31 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-01-10 16:41:12 +0100 |
commit | b49efd76248242169f28ffd20ada05064d01ed9f (patch) | |
tree | 803f744f3c91b5c26fb708f0bece373ae2e704f0 /arch/x86/include/asm/swiotlb.h | |
parent | dma-mapping: move swiotlb arch helpers to a new header (diff) | |
download | linux-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/x86/include/asm/swiotlb.h')
-rw-r--r-- | arch/x86/include/asm/swiotlb.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/include/asm/swiotlb.h b/arch/x86/include/asm/swiotlb.h index bdf9aed40403..1c6a6cb230ff 100644 --- a/arch/x86/include/asm/swiotlb.h +++ b/arch/x86/include/asm/swiotlb.h @@ -28,8 +28,6 @@ static inline void pci_swiotlb_late_init(void) } #endif -static inline void dma_mark_clean(void *addr, size_t size) {} - extern void *x86_swiotlb_alloc_coherent(struct device *hwdev, size_t size, dma_addr_t *dma_handle, gfp_t flags, unsigned long attrs); |