patch-2.1.126 linux/arch/mips/kernel/mips_ksyms.c

Next file: linux/arch/mips/kernel/pci.c
Previous file: linux/arch/mips/kernel/irq.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.125/linux/arch/mips/kernel/mips_ksyms.c linux/arch/mips/kernel/mips_ksyms.c
@@ -1,13 +1,12 @@
-/*
+/* $Id: mips_ksyms.c,v 1.12 1998/09/16 22:50:41 ralf Exp $
+ *
  * Export MIPS-specific functions needed for loadable modules.
  *
  * This file is subject to the terms and conditions of the GNU General Public
  * License.  See the file "COPYING" in the main directory of this archive
  * for more details.
  *
- * Copyright (C) 1996, 1997 by Ralf Baechle
- *
- * $Id: mips_ksyms.c,v 1.7 1998/05/04 09:17:52 ralf Exp $
+ * Copyright (C) 1996, 1997, 1998 by Ralf Baechle
  */
 #include <linux/config.h>
 #include <linux/module.h>
@@ -27,6 +26,14 @@
 #include <asm/softirq.h>
 #include <asm/uaccess.h>
 
+extern void *__bzero(void *__s, size_t __count);
+extern long __strncpy_from_user_nocheck_asm(char *__to,
+                                            const char *__from, long __len);
+extern long __strncpy_from_user_asm(char *__to, const char *__from,
+                                    long __len);
+extern long __strlen_user_nocheck_asm(const char *s);
+extern long __strlen_user_asm(const char *s);
+
 EXPORT_SYMBOL(EISA_bus);
 
 /*
@@ -48,11 +55,19 @@
 EXPORT_SYMBOL(__mips_bh_counter);
 EXPORT_SYMBOL(local_bh_count);
 EXPORT_SYMBOL(local_irq_count);
+//EXPORT_SYMBOL(enable_irq);
+//EXPORT_SYMBOL(disable_irq);
 
 /*
  * Userspace access stuff.
  */
 EXPORT_SYMBOL(__copy_user);
+EXPORT_SYMBOL(__bzero);
+EXPORT_SYMBOL(__strncpy_from_user_nocheck_asm);
+EXPORT_SYMBOL(__strncpy_from_user_asm);
+EXPORT_SYMBOL(__strlen_user_nocheck_asm);
+EXPORT_SYMBOL(__strlen_user_asm);
+
 
 /* Networking helper routines. */
 EXPORT_SYMBOL(csum_partial_copy);
@@ -61,7 +76,6 @@
  * Functions to control caches.
  */
 EXPORT_SYMBOL(flush_page_to_ram);
-EXPORT_SYMBOL(fd_cacheflush);
 EXPORT_SYMBOL(flush_cache_all);
 
 /*

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov