powerpc: Implement dma_mmap_coherent()
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 24 Mar 2011 20:50:06 +0000 (20:50 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 29 Mar 2011 23:44:00 +0000 (10:44 +1100)
This is used by Alsa to mmap buffers allocated with dma_alloc_coherent()
into userspace. We need a special variant to handle machines with
non-coherent DMAs as those buffers have "special" virt addresses and
require non-cachable mappings

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

No differences found