]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
powerpc: Fix dma_map_sg() cache flushing on non coherent platforms
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sun, 30 Nov 2008 18:53:40 +0000 (18:53 +0000)
committerPaul Mackerras <paulus@samba.org>
Wed, 3 Dec 2008 07:24:08 +0000 (18:24 +1100)
commit2434bbb30e79468c49cff3cff6005236f55ed188
treec6ef9842c87161cee8af075dcc7e5b0e704cc665
parentf6f7b52e2f6149d2ee365717afff315b05720162
powerpc: Fix dma_map_sg() cache flushing on non coherent platforms

On PowerPC 4xx or other non cache-coherent platforms, we lost the
appropriate cache flushing in dma_map_sg() when merging the 32 and
64-bit DMA code (commit 4fc665b88a79a45bae8bbf3a05563c27c7337c3d,
"powerpc: Merge 32 and 64-bit dma code").  This restores it.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Becky Bruce <beckyb@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/dma.c