aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-generic/dma-mapping-broken.h
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2012-12-16 18:27:33 +0100
committerGeert Uytterhoeven <geert@linux-m68k.org>2012-12-25 20:14:53 +0100
commit4a09ab6771276a7fd3f80be4250a0fd0ba5114ad (patch)
treec574174e339f0b8ed2be79777201e1f0a4a84bad /include/asm-generic/dma-mapping-broken.h
parentLinux 3.8-rc1 (diff)
downloadlinux-dev-4a09ab6771276a7fd3f80be4250a0fd0ba5114ad.tar.xz
linux-dev-4a09ab6771276a7fd3f80be4250a0fd0ba5114ad.zip
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