Several drivers that can be modularcall the functions in pci-dma.c in
arch/mips/kernel. The following patch exports these functions so the
modules don't fail.
--- Makefile.orig Fri Oct 26 13:08:58 2001
+++ Makefile Fri Oct 26 13:09:24 2001
@@ -57,6 +57,7 @@
obj-$(CONFIG_BINFMT_IRIX) += irixelf.o irixioctl.o irixsig.o sysirix.o \
irixinv.o
obj-$(CONFIG_REMOTE_DEBUG) += gdb-low.o gdb-stub.o
+export-objs += pci-dma.o
obj-$(CONFIG_PCI) += pci-dma.o
obj-$(CONFIG_PROC_FS) += proc.o
--- pci-dma.c Mon Jun 25 12:09:29 2001
+++ /tmp/linux-mips/arch/mips/kernel/pci-dma.c Fri Oct 26 12:57:32 2001
@@ -8,6 +8,7 @@
* swiped from i386, and cloned for MIPS by Geert, polished by Ralf.
*/
#include <linux/config.h>
+#include <linux/module.h>
#include <linux/types.h>
#include <linux/mm.h>
#include <linux/string.h>
@@ -47,3 +48,6 @@
#endif
free_pages(addr, get_order(size));
}
+
+EXPORT_SYMBOL(pci_alloc_consistent);
+EXPORT_SYMBOL(pci_free_consistent);
|