From: Benjamin Herrenschmidt Date: Thu, 24 Mar 2011 20:50:06 +0000 (+0000) Subject: powerpc: Implement dma_mmap_coherent() X-Git-Tag: v2.6.39-rc2~38^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6090912c4abcfc6c81b156cf2bb4cda23ae6e847;p=pandora-kernel.git 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 --- Reading git-diff-tree failed