diff options
Diffstat (limited to 'arch/powerpc/include/asm/dma-mapping.h')
-rw-r--r-- | arch/powerpc/include/asm/dma-mapping.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/powerpc/include/asm/dma-mapping.h b/arch/powerpc/include/asm/dma-mapping.h index 8fa394520af6..dacd0f93f2b2 100644 --- a/arch/powerpc/include/asm/dma-mapping.h +++ b/arch/powerpc/include/asm/dma-mapping.h | |||
@@ -39,9 +39,6 @@ extern int dma_nommu_mmap_coherent(struct device *dev, | |||
39 | * to ensure it is consistent. | 39 | * to ensure it is consistent. |
40 | */ | 40 | */ |
41 | struct device; | 41 | struct device; |
42 | extern void *__dma_alloc_coherent(struct device *dev, size_t size, | ||
43 | dma_addr_t *handle, gfp_t gfp); | ||
44 | extern void __dma_free_coherent(size_t size, void *vaddr); | ||
45 | extern void __dma_sync(void *vaddr, size_t size, int direction); | 42 | extern void __dma_sync(void *vaddr, size_t size, int direction); |
46 | extern void __dma_sync_page(struct page *page, unsigned long offset, | 43 | extern void __dma_sync_page(struct page *page, unsigned long offset, |
47 | size_t size, int direction); | 44 | size_t size, int direction); |
@@ -52,8 +49,6 @@ extern unsigned long __dma_get_coherent_pfn(unsigned long cpu_addr); | |||
52 | * Cache coherent cores. | 49 | * Cache coherent cores. |
53 | */ | 50 | */ |
54 | 51 | ||
55 | #define __dma_alloc_coherent(dev, gfp, size, handle) NULL | ||
56 | #define __dma_free_coherent(size, addr) ((void)0) | ||
57 | #define __dma_sync(addr, size, rw) ((void)0) | 52 | #define __dma_sync(addr, size, rw) ((void)0) |
58 | #define __dma_sync_page(pg, off, sz, rw) ((void)0) | 53 | #define __dma_sync_page(pg, off, sz, rw) ((void)0) |
59 | 54 | ||
@@ -112,7 +107,5 @@ extern int dma_set_mask(struct device *dev, u64 dma_mask); | |||
112 | 107 | ||
113 | extern u64 __dma_get_required_mask(struct device *dev); | 108 | extern u64 __dma_get_required_mask(struct device *dev); |
114 | 109 | ||
115 | #define ARCH_HAS_DMA_MMAP_COHERENT | ||
116 | |||
117 | #endif /* __KERNEL__ */ | 110 | #endif /* __KERNEL__ */ |
118 | #endif /* _ASM_DMA_MAPPING_H */ | 111 | #endif /* _ASM_DMA_MAPPING_H */ |