aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/dma-mapping_64.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/dma-mapping_64.h')
-rw-r--r--include/asm-x86/dma-mapping_64.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/asm-x86/dma-mapping_64.h b/include/asm-x86/dma-mapping_64.h
index b27527ab770e..ce37efb847b3 100644
--- a/include/asm-x86/dma-mapping_64.h
+++ b/include/asm-x86/dma-mapping_64.h
@@ -96,14 +96,6 @@ dma_sync_sg_for_device(struct device *hwdev, struct scatterlist *sg,
96 flush_write_buffers(); 96 flush_write_buffers();
97} 97}
98 98
99static inline void
100dma_unmap_sg(struct device *hwdev, struct scatterlist *sg, int nents,
101 int direction)
102{
103 BUG_ON(!valid_dma_direction(direction));
104 dma_ops->unmap_sg(hwdev, sg, nents, direction);
105}
106
107extern int dma_supported(struct device *hwdev, u64 mask); 99extern int dma_supported(struct device *hwdev, u64 mask);
108 100
109/* same for gart, swiotlb, and nommu */ 101/* same for gart, swiotlb, and nommu */