Re: [PATCH 2/2] asm-generic/dma-mapping-broken.h: Provide dma_alloc_attrs()/dma_free_attrs()

From: Arnd Bergmann
Date: Mon Dec 17 2012 - 11:12:43 EST


On Sunday 16 December 2012, Geert Uytterhoeven wrote:
>
> Since commit 0049fb2603b7afb1080776ee691dfa5a3d282357 ("OMAPFB: use
> dma_alloc_attrs to allocate memory") we have one non-arch user of
> dma_{alloc,free}_attrs().
>
> Hence provide these functions, as wrappers around
> dma_{alloc,free}_coherent().
>
> Note that most architectures do it the other way around. But as these are
> dummy functions, we don't care.
>
> Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
> ---
> include/asm-generic/dma-mapping-broken.h | 16 ++++++++++++++++
> 1 files changed, 16 insertions(+), 0 deletions(-)

Acked-by: Arnd Bergmann <arnd@xxxxxxxx>

Maybe you can put this one in your m68k tree along with your other
patch.

Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/