X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-sh64%2Fdma-mapping.h;h=cc9a2e86f5b413d566f81c07781596cc4a7b5b65;hb=9464c7cf61b9433057924c36e6e02f303a00e768;hp=68e27a8fca31f20d90257d454251a31b58e180b5;hpb=41689045f6a3cbe0550e1d34e9cc20d2e8c432ba;p=linux-2.6.git diff --git a/include/asm-sh64/dma-mapping.h b/include/asm-sh64/dma-mapping.h index 68e27a8fc..cc9a2e86f 100644 --- a/include/asm-sh64/dma-mapping.h +++ b/include/asm-sh64/dma-mapping.h @@ -1,6 +1,7 @@ #ifndef __ASM_SH_DMA_MAPPING_H #define __ASM_SH_DMA_MAPPING_H +#include #include #include #include @@ -126,30 +127,22 @@ static inline void dma_sync_sg(struct device *dev, struct scatterlist *sg, static inline void dma_sync_single_for_cpu(struct device *dev, dma_addr_t dma_handle, size_t size, enum dma_data_direction dir) -{ - dma_sync_single(dev, dma_handle, size, dir); -} + __attribute__ ((alias("dma_sync_single"))); static inline void dma_sync_single_for_device(struct device *dev, dma_addr_t dma_handle, size_t size, enum dma_data_direction dir) -{ - dma_sync_single(dev, dma_handle, size, dir); -} + __attribute__ ((alias("dma_sync_single"))); static inline void dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nelems, enum dma_data_direction dir) -{ - dma_sync_sg(dev, sg, nelems, dir); -} + __attribute__ ((alias("dma_sync_sg"))); static inline void dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, int nelems, enum dma_data_direction dir) -{ - dma_sync_sg(dev, sg, nelems, dir); -} + __attribute__ ((alias("dma_sync_sg"))); static inline int dma_get_cache_alignment(void) {