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.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/asm-x86/dma-mapping_64.h b/include/asm-x86/dma-mapping_64.h
index 5d349db23c99..b27527ab770e 100644
--- a/include/asm-x86/dma-mapping_64.h
+++ b/include/asm-x86/dma-mapping_64.h
@@ -96,13 +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 int
100dma_map_sg(struct device *hwdev, struct scatterlist *sg, int nents, int direction)
101{
102 BUG_ON(!valid_dma_direction(direction));
103 return dma_ops->map_sg(hwdev, sg, nents, direction);
104}
105
106static inline void 99static inline void
107dma_unmap_sg(struct device *hwdev, struct scatterlist *sg, int nents, 100dma_unmap_sg(struct device *hwdev, struct scatterlist *sg, int nents,
108 int direction) 101 int direction)