diff options
Diffstat (limited to 'include/asm-x86/dma-mapping.h')
-rw-r--r-- | include/asm-x86/dma-mapping.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-x86/dma-mapping.h b/include/asm-x86/dma-mapping.h index b331a8d3a7cf..51a79d71dabd 100644 --- a/include/asm-x86/dma-mapping.h +++ b/include/asm-x86/dma-mapping.h | |||
@@ -185,4 +185,10 @@ static inline void dma_unmap_page(struct device *dev, dma_addr_t addr, | |||
185 | dma_unmap_single(dev, addr, size, direction); | 185 | dma_unmap_single(dev, addr, size, direction); |
186 | } | 186 | } |
187 | 187 | ||
188 | static inline void | ||
189 | dma_cache_sync(struct device *dev, void *vaddr, size_t size, | ||
190 | enum dma_data_direction dir) | ||
191 | { | ||
192 | flush_write_buffers(); | ||
193 | } | ||
188 | #endif | 194 | #endif |