diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2012-12-16 12:27:33 -0500 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2012-12-25 14:14:53 -0500 |
commit | 4a09ab6771276a7fd3f80be4250a0fd0ba5114ad (patch) | |
tree | c574174e339f0b8ed2be79777201e1f0a4a84bad /include/asm-generic/dma-mapping-broken.h | |
parent | a49f0d1ea3ec94fc7cf33a7c36a16343b74bd565 (diff) |
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>
Diffstat (limited to 'include/asm-generic/dma-mapping-broken.h')
0 files changed, 0 insertions, 0 deletions