Re: [PATCH 3/3] dma-mapping: move swiotlb dma-phys functions to common header

2016-03-19 Thread Sinan Kaya
On 3/18/2016 7:31 AM, Robin Murphy wrote: > On 17/03/16 22:02, Sinan Kaya wrote: >> Moving the default implementation of swiotlb_dma_to_phys and >> swiotlb_phys_to_dma functions to dma-mapping.h so that we can get >> rid of the duplicate code in multiple ARCH. >> >> Signed-off-by: Sinan Kaya >> --

Re: [PATCH 3/3] dma-mapping: move swiotlb dma-phys functions to common header

2016-03-18 Thread Robin Murphy
On 17/03/16 22:02, Sinan Kaya wrote: Moving the default implementation of swiotlb_dma_to_phys and swiotlb_phys_to_dma functions to dma-mapping.h so that we can get rid of the duplicate code in multiple ARCH. Signed-off-by: Sinan Kaya --- arch/arm64/include/asm/dma-mapping.h | 14