4 #include <asm/glue-cache.h>
7 #define dmac_map_area __glue(_CACHE,_dma_map_area)
8 #define dmac_unmap_area __glue(_CACHE,_dma_unmap_area)
11 * These are private to the dma-mapping API. Do not use directly.
12 * Their sole purpose is to ensure that data held in the cache
13 * is visible to DMA, or data written by DMA to system memory is
16 extern void dmac_map_area(const void *, size_t, int);
17 extern void dmac_unmap_area(const void *, size_t, int);
22 * These are private to the dma-mapping API. Do not use directly.
23 * Their sole purpose is to ensure that data held in the cache
24 * is visible to DMA, or data written by DMA to system memory is
27 #define dmac_map_area cpu_cache.dma_map_area
28 #define dmac_unmap_area cpu_cache.dma_unmap_area