2005-04-16 16:20:36 -06:00
|
|
|
/*
|
|
|
|
* 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.
|
|
|
|
*
|
2012-07-06 13:56:01 -06:00
|
|
|
* Copyright (C) 1996, 97, 98, 99, 2000, 01, 03, 04, 05, 12 by Ralf Baechle
|
2005-04-16 16:20:36 -06:00
|
|
|
* Copyright (C) 1999, 2000, 01 Silicon Graphics, Inc.
|
|
|
|
*/
|
|
|
|
#include <linux/interrupt.h>
|
2011-07-23 14:30:40 -06:00
|
|
|
#include <linux/export.h>
|
2005-04-16 16:20:36 -06:00
|
|
|
#include <asm/checksum.h>
|
|
|
|
#include <asm/pgtable.h>
|
|
|
|
#include <asm/uaccess.h>
|
2009-11-20 05:34:29 -07:00
|
|
|
#include <asm/ftrace.h>
|
2005-04-16 16:20:36 -06:00
|
|
|
|
|
|
|
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);
|
|
|
|
extern long __strnlen_user_nocheck_asm(const char *s);
|
|
|
|
extern long __strnlen_user_asm(const char *s);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* String functions
|
|
|
|
*/
|
|
|
|
EXPORT_SYMBOL(memset);
|
|
|
|
EXPORT_SYMBOL(memcpy);
|
|
|
|
EXPORT_SYMBOL(memmove);
|
|
|
|
|
|
|
|
EXPORT_SYMBOL(kernel_thread);
|
|
|
|
|
2012-07-06 13:56:01 -06:00
|
|
|
/*
|
|
|
|
* Functions that operate on entire pages. Mostly used by memory management.
|
|
|
|
*/
|
|
|
|
EXPORT_SYMBOL(clear_page);
|
|
|
|
EXPORT_SYMBOL(copy_page);
|
|
|
|
|
2005-04-16 16:20:36 -06:00
|
|
|
/*
|
|
|
|
* Userspace access stuff.
|
|
|
|
*/
|
|
|
|
EXPORT_SYMBOL(__copy_user);
|
2007-03-05 08:54:20 -07:00
|
|
|
EXPORT_SYMBOL(__copy_user_inatomic);
|
2005-04-16 16:20:36 -06:00
|
|
|
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);
|
|
|
|
EXPORT_SYMBOL(__strnlen_user_nocheck_asm);
|
|
|
|
EXPORT_SYMBOL(__strnlen_user_asm);
|
|
|
|
|
|
|
|
EXPORT_SYMBOL(csum_partial);
|
2006-12-12 09:22:06 -07:00
|
|
|
EXPORT_SYMBOL(csum_partial_copy_nocheck);
|
|
|
|
EXPORT_SYMBOL(__csum_partial_copy_user);
|
2005-04-16 16:20:36 -06:00
|
|
|
|
|
|
|
EXPORT_SYMBOL(invalid_pte_table);
|
2009-11-20 05:34:29 -07:00
|
|
|
#ifdef CONFIG_FUNCTION_TRACER
|
|
|
|
/* _mcount is defined in arch/mips/kernel/mcount.S */
|
|
|
|
EXPORT_SYMBOL(_mcount);
|
|
|
|
#endif
|