ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[linux-2.6.git] / include / asm-s390 / dma-mapping.h
1 /*
2  *  include/asm-s390/dma-mapping.h
3  *
4  *  S390 version
5  *
6  *  This file exists so that #include <dma-mapping.h> doesn't break anything.
7  */
8
9 #ifndef _ASM_DMA_MAPPING_H
10 #define _ASM_DMA_MAPPING_H
11
12 static inline void *dma_alloc_coherent(struct device *dev, size_t size,
13                          dma_addr_t *dma_handle, int flag)
14 {
15         BUG();
16         return 0;
17 }
18
19 static inline void dma_free_coherent(struct device *dev, size_t size,
20                        void *vaddr, dma_addr_t dma_handle)
21 {
22         BUG();
23 }
24
25 #endif /* _ASM_DMA_MAPPING_H */