diff options
Diffstat (limited to 'include/asm-x86/dma-mapping_64.h')
-rw-r--r-- | include/asm-x86/dma-mapping_64.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/asm-x86/dma-mapping_64.h b/include/asm-x86/dma-mapping_64.h index b055964d1a27..b539f61f3c78 100644 --- a/include/asm-x86/dma-mapping_64.h +++ b/include/asm-x86/dma-mapping_64.h | |||
@@ -29,17 +29,6 @@ extern void dma_free_coherent(struct device *dev, size_t size, void *vaddr, | |||
29 | #define dma_unmap_page dma_unmap_single | 29 | #define dma_unmap_page dma_unmap_single |
30 | 30 | ||
31 | static inline void | 31 | static inline void |
32 | dma_sync_single_for_device(struct device *hwdev, dma_addr_t dma_handle, | ||
33 | size_t size, int direction) | ||
34 | { | ||
35 | BUG_ON(!valid_dma_direction(direction)); | ||
36 | if (dma_ops->sync_single_for_device) | ||
37 | dma_ops->sync_single_for_device(hwdev, dma_handle, size, | ||
38 | direction); | ||
39 | flush_write_buffers(); | ||
40 | } | ||
41 | |||
42 | static inline void | ||
43 | dma_sync_single_range_for_cpu(struct device *hwdev, dma_addr_t dma_handle, | 32 | dma_sync_single_range_for_cpu(struct device *hwdev, dma_addr_t dma_handle, |
44 | unsigned long offset, size_t size, int direction) | 33 | unsigned long offset, size_t size, int direction) |
45 | { | 34 | { |