]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] 1039/1: EXPORT_SYMBOL(dma_spin_lock) for ALSA
authorTomas Kasparek <xkaspa06@stud.fee.vutbr.cz>
Sat, 9 Mar 2002 22:21:53 +0000 (22:21 +0000)
committerRussell King <rmk@flint.arm.linux.org.uk>
Sat, 9 Mar 2002 22:21:53 +0000 (22:21 +0000)
Even I do not realy use any ISA code of ALSA on my iPAQ I need it for compilation. As I build ALSA as modules, the dma_spin_lock symbol is missing.

I have seen both definitions of dma_spin_lock (in kernel/dma.c and arch/arm/kernel/dma.c) same as EXPORT_SYMBOL in kernel/ksyms.c, but I think, exporting it in arch/arm/kernel/dma.c should be better then making confusion in kernel/ksyms.c

2Russel: If you don't think this is good solution, we should discuss this in linux-arm-kernel mailing list

arch/arm/kernel/dma.c

index 383e9397572b3e80e862fc786ac0d5a6c9fb7a5f..c6ea827fb70e305e7344d5efa5688ac9387e894c 100644 (file)
@@ -286,3 +286,5 @@ EXPORT_SYMBOL(set_dma_page);
 EXPORT_SYMBOL(get_dma_residue);
 EXPORT_SYMBOL(set_dma_sg);
 EXPORT_SYMBOL(set_dma_speed);
+
+EXPORT_SYMBOL(dma_spin_lock);