commit | 6090912c4abcfc6c81b156cf2bb4cda23ae6e847 | [log] [tgz] |
---|---|---|
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Thu Mar 24 20:50:06 2011 +0000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Wed Mar 30 10:44:00 2011 +1100 |
tree | 9bddd5b697883f706a53ef0413181845bb735250 | |
parent | 15d260b36facc1aa769fb39b0efc41f4c8c44729 [diff] |
powerpc: Implement dma_mmap_coherent() 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>