diff options
author | Glauber Costa <gcosta@redhat.com> | 2008-03-25 18:36:33 -0300 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-19 19:19:56 +0200 |
commit | 3cb6a91711a682adb3aa95da2ed8d47512cc3c41 (patch) | |
tree | 2f6a68a8392f513c047dde9df763df9a3b35c9cf /include/asm-x86/dma-mapping_32.h | |
parent | 2be621498d461b63ca6124f86e3b9582e1a8e722 (diff) | |
download | linux-3cb6a91711a682adb3aa95da2ed8d47512cc3c41.tar.bz2 |
x86: move dma_cache_sync to common header
they are the same in both architectures.
Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86/dma-mapping_32.h')
-rw-r--r-- | include/asm-x86/dma-mapping_32.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/asm-x86/dma-mapping_32.h b/include/asm-x86/dma-mapping_32.h index c61ae7ff222c..e60c30a88311 100644 --- a/include/asm-x86/dma-mapping_32.h +++ b/include/asm-x86/dma-mapping_32.h @@ -55,13 +55,6 @@ dma_get_cache_alignment(void) #define dma_is_consistent(d, h) (1) -static inline void -dma_cache_sync(struct device *dev, void *vaddr, size_t size, - enum dma_data_direction direction) -{ - flush_write_buffers(); -} - #define ARCH_HAS_DMA_DECLARE_COHERENT_MEMORY extern int dma_declare_coherent_memory(struct device *dev, dma_addr_t bus_addr, |