2 * Export MIPS-specific functions needed for loadable modules.
4 * This file is subject to the terms and conditions of the GNU General Public
5 * License. See the file "COPYING" in the main directory of this archive
8 * Copyright (C) 1996, 97, 98, 99, 2000, 01, 03, 04, 05, 12 by Ralf Baechle
9 * Copyright (C) 1999, 2000, 01 Silicon Graphics, Inc.
11 #include <linux/interrupt.h>
12 #include <linux/export.h>
13 #include <asm/checksum.h>
15 #include <asm/uaccess.h>
16 #include <asm/ftrace.h>
19 extern void *__bzero(void *__s
, size_t __count
);
20 extern long __strncpy_from_user_nocheck_asm(char *__to
,
21 const char *__from
, long __len
);
22 extern long __strncpy_from_user_asm(char *__to
, const char *__from
,
24 extern long __strlen_user_nocheck_asm(const char *s
);
25 extern long __strlen_user_asm(const char *s
);
26 extern long __strnlen_user_nocheck_asm(const char *s
);
27 extern long __strnlen_user_asm(const char *s
);
30 * Core architecture code
32 #ifdef CONFIG_CPU_R4K_FPU
33 EXPORT_SYMBOL_GPL(_save_fp
);
39 EXPORT_SYMBOL(memset
);
40 EXPORT_SYMBOL(memcpy
);
41 EXPORT_SYMBOL(memmove
);
44 * Functions that operate on entire pages. Mostly used by memory management.
46 EXPORT_SYMBOL(clear_page
);
47 EXPORT_SYMBOL(copy_page
);
50 * Userspace access stuff.
52 EXPORT_SYMBOL(__copy_user
);
53 EXPORT_SYMBOL(__copy_user_inatomic
);
54 EXPORT_SYMBOL(__bzero
);
55 EXPORT_SYMBOL(__strncpy_from_user_nocheck_asm
);
56 EXPORT_SYMBOL(__strncpy_from_user_asm
);
57 EXPORT_SYMBOL(__strlen_user_nocheck_asm
);
58 EXPORT_SYMBOL(__strlen_user_asm
);
59 EXPORT_SYMBOL(__strnlen_user_nocheck_asm
);
60 EXPORT_SYMBOL(__strnlen_user_asm
);
62 EXPORT_SYMBOL(csum_partial
);
63 EXPORT_SYMBOL(csum_partial_copy_nocheck
);
64 EXPORT_SYMBOL(__csum_partial_copy_user
);
66 EXPORT_SYMBOL(invalid_pte_table
);
67 #ifdef CONFIG_FUNCTION_TRACER
68 /* _mcount is defined in arch/mips/kernel/mcount.S */
69 EXPORT_SYMBOL(_mcount
);