m68k: 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:53 +0000 (20:14 +0100)
commit4a09ab6771276a7fd3f80be4250a0fd0ba5114ad
treec574174e339f0b8ed2be79777201e1f0a4a84bad
parenta49f0d1ea3ec94fc7cf33a7c36a16343b74bd565
m68k: Provide dma_alloc_attrs()/dma_free_attrs()

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 so far
m68k doesn't support the attributes at all, our solution should generate
smaller code.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/include/asm/dma-mapping.h
This page took 0.026177 seconds and 5 git commands to generate.