generic: per-device coherent dma allocator
authorDmitry Baryshkov <dbaryshkov@gmail.com>
Sun, 29 Jun 2008 10:18:46 +0000 (14:18 +0400)
committerIngo Molnar <mingo@elte.hu>
Mon, 30 Jun 2008 10:51:05 +0000 (12:51 +0200)
Currently x86_32, sh and cris-v32 provide per-device coherent dma
memory allocator.

However their implementation is nearly identical. Refactor out
common code to be reused by them.

Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found