x86: move alloc and free coherent to common header
authorGlauber Costa <gcosta@redhat.com>
Tue, 25 Mar 2008 21:36:31 +0000 (18:36 -0300)
committerIngo Molnar <mingo@elte.hu>
Sat, 19 Apr 2008 17:19:56 +0000 (19:19 +0200)
commit8d396ded71a9b378fc3e846095e50565606f2df6
tree62852546c33e7d33fed5e83962ae0af6947cc6ed
parente7f3a913f91b7bfef3a93dff27930f24bdfcd2c0
x86: move alloc and free coherent to common header

they are the same between architectures. (except for the fact
that x86_64 has duplicate code)

move them to dma-mapping.h

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