aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/dma-mapping_64.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/dma-mapping_64.h')
-rw-r--r--include/asm-x86/dma-mapping_64.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/asm-x86/dma-mapping_64.h b/include/asm-x86/dma-mapping_64.h
index 707dbbe86a26..ce881d992228 100644
--- a/include/asm-x86/dma-mapping_64.h
+++ b/include/asm-x86/dma-mapping_64.h
@@ -12,17 +12,6 @@ static inline int dma_mapping_error(dma_addr_t dma_addr)
12 return (dma_addr == bad_dma_address); 12 return (dma_addr == bad_dma_address);
13} 13}
14 14
15#define dma_alloc_noncoherent(d, s, h, f) dma_alloc_coherent(d, s, h, f)
16#define dma_free_noncoherent(d, s, v, h) dma_free_coherent(d, s, v, h)
17
18#define dma_alloc_noncoherent(d, s, h, f) dma_alloc_coherent(d, s, h, f)
19#define dma_free_noncoherent(d, s, v, h) dma_free_coherent(d, s, v, h)
20
21extern void *dma_alloc_coherent(struct device *dev, size_t size,
22 dma_addr_t *dma_handle, gfp_t gfp);
23extern void dma_free_coherent(struct device *dev, size_t size, void *vaddr,
24 dma_addr_t dma_handle);
25
26#define dma_map_page(dev,page,offset,size,dir) \ 15#define dma_map_page(dev,page,offset,size,dir) \
27 dma_map_single((dev), page_address(page)+(offset), (size), (dir)) 16 dma_map_single((dev), page_address(page)+(offset), (size), (dir))
28 17