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>
18 extern void *__bzero(void *__s
, size_t __count
);
19 extern long __strncpy_from_kernel_nocheck_asm(char *__to
,
20 const char *__from
, long __len
);
21 extern long __strncpy_from_kernel_asm(char *__to
, const char *__from
,
23 extern long __strncpy_from_user_nocheck_asm(char *__to
,
24 const char *__from
, long __len
);
25 extern long __strncpy_from_user_asm(char *__to
, const char *__from
,
27 extern long __strlen_kernel_nocheck_asm(const char *s
);
28 extern long __strlen_kernel_asm(const char *s
);
29 extern long __strlen_user_nocheck_asm(const char *s
);
30 extern long __strlen_user_asm(const char *s
);
31 extern long __strnlen_kernel_nocheck_asm(const char *s
);
32 extern long __strnlen_kernel_asm(const char *s
);
33 extern long __strnlen_user_nocheck_asm(const char *s
);
34 extern long __strnlen_user_asm(const char *s
);
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
);
55 EXPORT_SYMBOL(__copy_from_user_eva
);
56 EXPORT_SYMBOL(__copy_in_user_eva
);
57 EXPORT_SYMBOL(__copy_to_user_eva
);
58 EXPORT_SYMBOL(__copy_user_inatomic_eva
);
60 EXPORT_SYMBOL(__bzero
);
61 EXPORT_SYMBOL(__strncpy_from_kernel_nocheck_asm
);
62 EXPORT_SYMBOL(__strncpy_from_kernel_asm
);
63 EXPORT_SYMBOL(__strncpy_from_user_nocheck_asm
);
64 EXPORT_SYMBOL(__strncpy_from_user_asm
);
65 EXPORT_SYMBOL(__strlen_kernel_nocheck_asm
);
66 EXPORT_SYMBOL(__strlen_kernel_asm
);
67 EXPORT_SYMBOL(__strlen_user_nocheck_asm
);
68 EXPORT_SYMBOL(__strlen_user_asm
);
69 EXPORT_SYMBOL(__strnlen_kernel_nocheck_asm
);
70 EXPORT_SYMBOL(__strnlen_kernel_asm
);
71 EXPORT_SYMBOL(__strnlen_user_nocheck_asm
);
72 EXPORT_SYMBOL(__strnlen_user_asm
);
74 EXPORT_SYMBOL(csum_partial
);
75 EXPORT_SYMBOL(csum_partial_copy_nocheck
);
76 EXPORT_SYMBOL(__csum_partial_copy_kernel
);
77 EXPORT_SYMBOL(__csum_partial_copy_to_user
);
78 EXPORT_SYMBOL(__csum_partial_copy_from_user
);
80 EXPORT_SYMBOL(invalid_pte_table
);
81 #ifdef CONFIG_FUNCTION_TRACER
82 /* _mcount is defined in arch/mips/kernel/mcount.S */
83 EXPORT_SYMBOL(_mcount
);