sh: declared coherent memory support V2
authorMagnus Damm <magnus.damm@gmail.com>
Thu, 24 Jan 2008 09:35:10 +0000 (18:35 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 28 Jan 2008 04:19:04 +0000 (13:19 +0900)
commitf93e97eaead5c50af35d73cca7301ebbfdff116c
tree108a0b968123bb00a9453189fe93ad467d265cbf
parent4862ec073975e28f432f164405e60fa6f5c9d071
sh: declared coherent memory support V2

This patch adds declared coherent memory support to the sh architecture. All
functions are based on the x86 implementation. Header files are adjusted to
use the new functions instead of the former consistent_alloc() code.

This version includes the few changes what were included in the fix patch
together with modifications based on feedback from Paul.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/mm/consistent.c
include/asm-sh/dma-mapping.h