x86: implement dma_map_single through dma_ops
authorGlauber Costa <gcosta@redhat.com>
Tue, 25 Mar 2008 21:36:21 +0000 (18:36 -0300)
committerIngo Molnar <mingo@elte.hu>
Sat, 19 Apr 2008 17:19:56 +0000 (19:19 +0200)
commit22456b97148be300e25e9cb97244656775972475
treed85225c64c776f61c9485a5ca1b06f32c53cc5fe
parent6f5366354bf86f8d2c1cf241c9bbf44b2d350e30
x86: implement dma_map_single through dma_ops

That's already the name of the game for x86_64. For i386,
we add a pci-base_32.c, that will hold the default operations.
The function call itself goes through dma-mapping.h , the common
header

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/Makefile
arch/x86/kernel/pci-base_32.c [new file with mode: 0644]
include/asm-x86/dma-mapping.h
include/asm-x86/dma-mapping_32.h
include/asm-x86/dma-mapping_64.h