]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: isolate coherent mapping functions
authorGlauber Costa <gcosta@redhat.com>
Tue, 8 Apr 2008 16:20:58 +0000 (13:20 -0300)
committerIngo Molnar <mingo@elte.hu>
Sat, 19 Apr 2008 17:19:58 +0000 (19:19 +0200)
commitd09d815c1b1d437a3ea89ecd92c91179266d1243
tree860aac1786676a01909d8ad1325bd3ffbe029039
parent8e8edc6401205da3000cc3dfa76f3fd28a21d73c
x86: isolate coherent mapping functions

i386 implements the declare coherent memory API, and x86_64 does not
it is reflected in pieces of dma_alloc_coherent and dma_free_coherent.
Those pieces are isolated in separate functions, that are declared
as empty macros in x86_64. This way we can make the code the same.

Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/pci-dma_32.c
arch/x86/kernel/pci-dma_64.c