1 #ifndef _ASM_SPARC_DMA_MAPPING_H
2 #define _ASM_SPARC_DMA_MAPPING_H
6 #include <asm-generic/dma-mapping.h>
9 static inline void *dma_alloc_coherent(struct device
*dev
, size_t size
,
10 dma_addr_t
*dma_handle
, gfp_t flag
)
16 static inline void dma_free_coherent(struct device
*dev
, size_t size
,
17 void *vaddr
, dma_addr_t dma_handle
)
24 #endif /* _ASM_SPARC_DMA_MAPPING_H */