]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
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)
commitc647c3bb2d16246a87f49035985ddb7c1eb030df
tree881479b30af77332bbc24e5340a81c02b0aad04f
parenta3a76532e0caa093c279806d8fe8608232538af0
x86: cleanup dma_*_coherent functions

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>
arch/x86/kernel/pci-dma.c