MIPS: Synchronize dma_map_page and dma_map_single
commit135958edaef2b5b61c5a56a46d67246ecbdaa04a
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Thu, 22 Jan 2009 15:42:11 +0000 (23 00:42 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Sun, 19 Apr 2009 02:21:05 +0000 (19 04:21 +0200)
treed614d4bc13d1be163d70bc4e7cc95ba0899c0971
parent6c626fff54a72046496684c9fbd8010ae34547cd
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