Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Export MIPS-specific functions needed for loadable modules. |
| 3 | * |
| 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 |
| 6 | * for more details. |
| 7 | * |
| 8 | * Copyright (C) 1996, 97, 98, 99, 2000, 01, 03, 04, 05 by Ralf Baechle |
| 9 | * Copyright (C) 1999, 2000, 01 Silicon Graphics, Inc. |
| 10 | */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | #include <linux/interrupt.h> |
| 12 | #include <linux/module.h> |
| 13 | #include <asm/checksum.h> |
| 14 | #include <asm/pgtable.h> |
| 15 | #include <asm/uaccess.h> |
| 16 | |
| 17 | extern void *__bzero(void *__s, size_t __count); |
| 18 | extern long __strncpy_from_user_nocheck_asm(char *__to, |
| 19 | const char *__from, long __len); |
| 20 | extern long __strncpy_from_user_asm(char *__to, const char *__from, |
| 21 | long __len); |
| 22 | extern long __strlen_user_nocheck_asm(const char *s); |
| 23 | extern long __strlen_user_asm(const char *s); |
| 24 | extern long __strnlen_user_nocheck_asm(const char *s); |
| 25 | extern long __strnlen_user_asm(const char *s); |
| 26 | |
| 27 | /* |
| 28 | * String functions |
| 29 | */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 30 | EXPORT_SYMBOL(memset); |
| 31 | EXPORT_SYMBOL(memcpy); |
| 32 | EXPORT_SYMBOL(memmove); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 33 | |
| 34 | EXPORT_SYMBOL(kernel_thread); |
| 35 | |
| 36 | /* |
| 37 | * Userspace access stuff. |
| 38 | */ |
| 39 | EXPORT_SYMBOL(__copy_user); |
Ralf Baechle | d0c91ae | 2007-03-05 15:54:20 +0000 | [diff] [blame] | 40 | EXPORT_SYMBOL(__copy_user_inatomic); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 41 | EXPORT_SYMBOL(__bzero); |
| 42 | EXPORT_SYMBOL(__strncpy_from_user_nocheck_asm); |
| 43 | EXPORT_SYMBOL(__strncpy_from_user_asm); |
| 44 | EXPORT_SYMBOL(__strlen_user_nocheck_asm); |
| 45 | EXPORT_SYMBOL(__strlen_user_asm); |
| 46 | EXPORT_SYMBOL(__strnlen_user_nocheck_asm); |
| 47 | EXPORT_SYMBOL(__strnlen_user_asm); |
| 48 | |
| 49 | EXPORT_SYMBOL(csum_partial); |
Atsushi Nemoto | f860c90 | 2006-12-13 01:22:06 +0900 | [diff] [blame] | 50 | EXPORT_SYMBOL(csum_partial_copy_nocheck); |
| 51 | EXPORT_SYMBOL(__csum_partial_copy_user); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 52 | |
| 53 | EXPORT_SYMBOL(invalid_pte_table); |