Merge remote-tracking branch 'remotes/powerpc/topic/xive' into kvm-ppc-next
[linux/fpc-iii.git] / arch / cris / include / asm / dma-mapping.h
blob256169de3743defd576df3e5f119359e228a991a
1 #ifndef _ASM_CRIS_DMA_MAPPING_H
2 #define _ASM_CRIS_DMA_MAPPING_H
4 #ifdef CONFIG_PCI
5 extern const struct dma_map_ops v32_dma_ops;
7 static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
9 return &v32_dma_ops;
11 #else
12 static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
14 BUG();
15 return NULL;
17 #endif
19 static inline void
20 dma_cache_sync(struct device *dev, void *vaddr, size_t size,
21 enum dma_data_direction direction)
25 #endif