From: James S. <jsi...@us...> - 2001-10-26 20:00:18
|
Update of /cvsroot/linux-mips/linux/arch/mips/kernel In directory usw-pr-cvs1:/tmp/cvs-serv19348 Modified Files: Makefile pci-dma.c Log Message: Export pci dma allocate and dealloacte functions. Index: Makefile =================================================================== RCS file: /cvsroot/linux-mips/linux/arch/mips/kernel/Makefile,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- Makefile 2001/10/25 16:43:24 1.11 +++ Makefile 2001/10/26 20:00:15 1.12 @@ -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 Index: pci-dma.c =================================================================== RCS file: /cvsroot/linux-mips/linux/arch/mips/kernel/pci-dma.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- pci-dma.c 2001/07/09 19:28:47 1.2 +++ pci-dma.c 2001/10/26 20:00:15 1.3 @@ -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); |