]> git.ipfire.org Git - people/arne_f/kernel.git/blame - arch/mips/kernel/mips_ksyms.c
MIPS: Export FP functions used by lose_fpu(1) for KVM
[people/arne_f/kernel.git] / arch / mips / kernel / mips_ksyms.c
CommitLineData
1da177e4
LT
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 *
c0226306 8 * Copyright (C) 1996, 97, 98, 99, 2000, 01, 03, 04, 05, 12 by Ralf Baechle
1da177e4
LT
9 * Copyright (C) 1999, 2000, 01 Silicon Graphics, Inc.
10 */
1da177e4 11#include <linux/interrupt.h>
73bc256d 12#include <linux/export.h>
1da177e4 13#include <asm/checksum.h>
970d032f 14#include <linux/mm.h>
1da177e4 15#include <asm/uaccess.h>
d2bb0762 16#include <asm/ftrace.h>
d18cfaae 17#include <asm/fpu.h>
1da177e4
LT
18
19extern void *__bzero(void *__s, size_t __count);
20extern long __strncpy_from_user_nocheck_asm(char *__to,
70342287 21 const char *__from, long __len);
1da177e4 22extern long __strncpy_from_user_asm(char *__to, const char *__from,
70342287 23 long __len);
1da177e4
LT
24extern long __strlen_user_nocheck_asm(const char *s);
25extern long __strlen_user_asm(const char *s);
26extern long __strnlen_user_nocheck_asm(const char *s);
27extern long __strnlen_user_asm(const char *s);
28
d18cfaae
JH
29/*
30 * Core architecture code
31 */
32#ifdef CONFIG_CPU_R4K_FPU
33EXPORT_SYMBOL_GPL(_save_fp);
34#endif
35
1da177e4
LT
36/*
37 * String functions
38 */
1da177e4
LT
39EXPORT_SYMBOL(memset);
40EXPORT_SYMBOL(memcpy);
41EXPORT_SYMBOL(memmove);
1da177e4 42
c0226306
SH
43/*
44 * Functions that operate on entire pages. Mostly used by memory management.
45 */
46EXPORT_SYMBOL(clear_page);
47EXPORT_SYMBOL(copy_page);
48
1da177e4
LT
49/*
50 * Userspace access stuff.
51 */
52EXPORT_SYMBOL(__copy_user);
d0c91ae2 53EXPORT_SYMBOL(__copy_user_inatomic);
1da177e4
LT
54EXPORT_SYMBOL(__bzero);
55EXPORT_SYMBOL(__strncpy_from_user_nocheck_asm);
56EXPORT_SYMBOL(__strncpy_from_user_asm);
57EXPORT_SYMBOL(__strlen_user_nocheck_asm);
58EXPORT_SYMBOL(__strlen_user_asm);
59EXPORT_SYMBOL(__strnlen_user_nocheck_asm);
60EXPORT_SYMBOL(__strnlen_user_asm);
61
62EXPORT_SYMBOL(csum_partial);
f860c90b
AN
63EXPORT_SYMBOL(csum_partial_copy_nocheck);
64EXPORT_SYMBOL(__csum_partial_copy_user);
1da177e4
LT
65
66EXPORT_SYMBOL(invalid_pte_table);
d2bb0762
WZ
67#ifdef CONFIG_FUNCTION_TRACER
68/* _mcount is defined in arch/mips/kernel/mcount.S */
69EXPORT_SYMBOL(_mcount);
70#endif