x86: move dma_map_page and dma_unmap_page to common header
authorGlauber Costa <gcosta@redhat.com>
Tue, 25 Mar 2008 21:36:32 +0000 (18:36 -0300)
committerIngo Molnar <mingo@elte.hu>
Sat, 19 Apr 2008 17:19:56 +0000 (19:19 +0200)
commit4d92fbf231fe23ec07d18820a141c573a7f5017a
tree13187ca7d82f2356e22b6ba4a2cef12dcd95d976
parent8d396ded71a9b378fc3e846095e50565606f2df6
x86: move dma_map_page and dma_unmap_page to common header

They are similar enough to do this move.
the macro version is ugly, and we use inline functions instead.

Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/asm-x86/dma-mapping.h
include/asm-x86/dma-mapping_32.h
include/asm-x86/dma-mapping_64.h