[PATCHv3 3/5] common: dma-mapping: Introduce common remapping functions

2014-06-16 Thread Laura Abbott
For architectures without coherent DMA, memory for DMA may need to be remapped with coherent attributes. Factor out the the remapping code from arm and put it in a common location to reduced code duplication. Signed-off-by: Laura Abbott --- arch/arm/mm/dma-mapping.c| 57

[PATCHv3 3/5] common: dma-mapping: Introduce common remapping functions

2014-06-16 Thread Laura Abbott
For architectures without coherent DMA, memory for DMA may need to be remapped with coherent attributes. Factor out the the remapping code from arm and put it in a common location to reduced code duplication. Signed-off-by: Laura Abbott lau...@codeaurora.org --- arch/arm/mm/dma-mapping.c