sh: Add dma-mapping support for dma_alloc/free_coherent() overrides.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 26 Oct 2009 00:50:51 +0000 (09:50 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 26 Oct 2009 00:50:51 +0000 (09:50 +0900)
commitf32154c9b580f11017b01bf093514c900c09364e
tree3ec811bc69fd2e562bd9000c323fc3ae1584ce68
parent73c926bee0e4b7739bbb992a0a3df561178dd522
sh: Add dma-mapping support for dma_alloc/free_coherent() overrides.

This moves the current dma_alloc/free_coherent() calls to a generic
variant and plugs them in for the nommu default. Other variants can
override the defaults in the dma mapping ops directly.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/dma-mapping.h
arch/sh/kernel/dma-nommu.c
arch/sh/mm/consistent.c