diff options
Diffstat (limited to 'arch/powerpc/include/asm/dma-mapping.h')
-rw-r--r-- | arch/powerpc/include/asm/dma-mapping.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/powerpc/include/asm/dma-mapping.h b/arch/powerpc/include/asm/dma-mapping.h index a77ba280af04..8c9c6ad2004e 100644 --- a/arch/powerpc/include/asm/dma-mapping.h +++ b/arch/powerpc/include/asm/dma-mapping.h | |||
@@ -209,11 +209,6 @@ static inline phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr) | |||
209 | 209 | ||
210 | #define dma_alloc_noncoherent(d, s, h, f) dma_alloc_coherent(d, s, h, f) | 210 | #define dma_alloc_noncoherent(d, s, h, f) dma_alloc_coherent(d, s, h, f) |
211 | #define dma_free_noncoherent(d, s, v, h) dma_free_coherent(d, s, v, h) | 211 | #define dma_free_noncoherent(d, s, v, h) dma_free_coherent(d, s, v, h) |
212 | #ifdef CONFIG_NOT_COHERENT_CACHE | ||
213 | #define dma_is_consistent(d, h) (0) | ||
214 | #else | ||
215 | #define dma_is_consistent(d, h) (1) | ||
216 | #endif | ||
217 | 212 | ||
218 | static inline void dma_cache_sync(struct device *dev, void *vaddr, size_t size, | 213 | static inline void dma_cache_sync(struct device *dev, void *vaddr, size_t size, |
219 | enum dma_data_direction direction) | 214 | enum dma_data_direction direction) |