x86: cleanup dma_*_coherent functions
authorJoerg Roedel <joerg.roedel@amd.com>
Tue, 19 Aug 2008 14:32:44 +0000 (16:32 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 22 Aug 2008 06:34:50 +0000 (08:34 +0200)
All dma_ops implementations support the alloc_coherent and free_coherent
callbacks now. This allows a big simplification of the dma_alloc_coherent
function which is done with this patch. The dma_free_coherent functions is also
cleaned up and calls now the free_coherent callback of the dma_ops
implementation.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found