MIPS: Synchronize dma_map_page and dma_map_single
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Thu, 22 Jan 2009 15:42:11 +0000 (00:42 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 14 May 2009 12:50:26 +0000 (13:50 +0100)
commit4f29c057aa81c5440f06b716f768ba9f8a041fe9
tree152ebccf4c65945e0c28bb391e5dcbfc69b1863b
parent47740eb887796608fb4c629aa6b8507a2fb6c0eb
MIPS: Synchronize dma_map_page and dma_map_single

Synchronize dma_map_page/dma_unmap_page and dma_map_single/dma_unmap_single.
This will reduce unnecessary writebacks and invalidates.

[Ralf: make dma_unmap_page an inline function.]

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/dma-mapping.h
arch/mips/mm/dma-default.c