]> git.baikalelectronics.ru Git - kernel.git/commit
asm-generic/dma-mapping-broken.h: Provide dma_alloc_attrs()/dma_free_attrs()
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 16 Dec 2012 17:27:33 +0000 (18:27 +0100)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 25 Dec 2012 19:14:54 +0000 (20:14 +0100)
commit685d514f733a1211243347271879866bb78ca15e
treee39e334701985aaecc1ead908cf5943ced8c3e33
parent830871e8614de87531926b38a7ce3fa1d6c63bb3
asm-generic/dma-mapping-broken.h: Provide dma_alloc_attrs()/dma_free_attrs()

Since commit 33a1350af6c2afcd1c09124b8d82010a626fb4e0 ("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@linux-m68k.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
include/asm-generic/dma-mapping-broken.h