[PATCHv8 05/10] ARM: dma-mapping: use asm-generic/dma-mapping-common.h

Arnd Bergmann arnd at arndb.de
Tue Apr 10 07:47:20 EDT 2012


On Tuesday 10 April 2012, Marek Szyprowski wrote:
> This patch modifies dma-mapping implementation on ARM architecture to
> use common dma_map_ops structure and asm-generic/dma-mapping-common.h
> helpers.
> 
> Signed-off-by: Marek Szyprowski <m.szyprowski at samsung.com>
> Acked-by: Kyungmin Park <kyungmin.park at samsung.com>
> ---
>  arch/arm/Kconfig                   |    1 +
>  arch/arm/include/asm/device.h      |    1 +
>  arch/arm/include/asm/dma-mapping.h |  196 +++++-------------------------------
>  arch/arm/mm/dma-mapping.c          |  148 ++++++++++++++++-----------
>  4 files changed, 115 insertions(+), 231 deletions(-)

Looks good in principle. One question: Now that many of the functions are only
used in the dma_map_ops, can you make them 'static' instead?

	Arnd



More information about the linux-arm-kernel mailing list