linux/arch/mips/kernel/mips_ksyms.c
<<
>>
Prefs
   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 */
  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#include <asm/ftrace.h>
  17
  18extern void *__bzero(void *__s, size_t __count);
  19extern long __strncpy_from_user_nocheck_asm(char *__to,
  20                                            const char *__from, long __len);
  21extern long __strncpy_from_user_asm(char *__to, const char *__from,
  22                                    long __len);
  23extern long __strlen_user_nocheck_asm(const char *s);
  24extern long __strlen_user_asm(const char *s);
  25extern long __strnlen_user_nocheck_asm(const char *s);
  26extern long __strnlen_user_asm(const char *s);
  27
  28/*
  29 * String functions
  30 */
  31EXPORT_SYMBOL(memset);
  32EXPORT_SYMBOL(memcpy);
  33EXPORT_SYMBOL(memmove);
  34
  35EXPORT_SYMBOL(kernel_thread);
  36
  37/*
  38 * Userspace access stuff.
  39 */
  40EXPORT_SYMBOL(__copy_user);
  41EXPORT_SYMBOL(__copy_user_inatomic);
  42EXPORT_SYMBOL(__bzero);
  43EXPORT_SYMBOL(__strncpy_from_user_nocheck_asm);
  44EXPORT_SYMBOL(__strncpy_from_user_asm);
  45EXPORT_SYMBOL(__strlen_user_nocheck_asm);
  46EXPORT_SYMBOL(__strlen_user_asm);
  47EXPORT_SYMBOL(__strnlen_user_nocheck_asm);
  48EXPORT_SYMBOL(__strnlen_user_asm);
  49
  50EXPORT_SYMBOL(csum_partial);
  51EXPORT_SYMBOL(csum_partial_copy_nocheck);
  52EXPORT_SYMBOL(__csum_partial_copy_user);
  53
  54EXPORT_SYMBOL(invalid_pte_table);
  55#ifdef CONFIG_FUNCTION_TRACER
  56/* _mcount is defined in arch/mips/kernel/mcount.S */
  57EXPORT_SYMBOL(_mcount);
  58#endif
  59