forked from luck/tmp_suning_uos_patched
cebfa85eb8
Pull MIPS updates from Ralf Baechle: "The MIPS bits for 3.8. This also includes a bunch fixes that were sitting in the linux-mips.org git tree for a long time. This pull request contains updates to several OCTEON drivers and the board support code for BCM47XX, BCM63XX, XLP, XLR, XLS, lantiq, Loongson1B, updates to the SSB bus support, MIPS kexec code and adds support for kdump. When pulling this, there are two expected merge conflicts in include/linux/bcma/bcma_driver_chipcommon.h which are trivial to resolve, just remove the conflict markers and keep both alternatives." * 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus: (90 commits) MIPS: PMC-Sierra Yosemite: Remove support. VIDEO: Newport Fix console crashes MIPS: wrppmc: Fix build of PCI code. MIPS: IP22/IP28: Fix build of EISA code. MIPS: RB532: Fix build of prom code. MIPS: PowerTV: Fix build. MIPS: IP27: Correct fucked grammar in ops-bridge.c MIPS: Highmem: Fix build error if CONFIG_DEBUG_HIGHMEM is disabled MIPS: Fix potencial corruption MIPS: Fix for warning from FPU emulation code MIPS: Handle COP3 Unusable exception as COP1X for FP emulation MIPS: Fix poweroff failure when HOTPLUG_CPU configured. MIPS: MT: Fix build with CONFIG_UIDGID_STRICT_TYPE_CHECKS=y MIPS: Remove unused smvp.h MIPS/EDAC: Improve OCTEON EDAC support. MIPS: OCTEON: Add definitions for OCTEON memory contoller registers. MIPS: OCTEON: Add OCTEON family definitions to octeon-model.h ata: pata_octeon_cf: Use correct byte order for DMA in when built little-endian. MIPS/OCTEON/ata: Convert pata_octeon_cf.c to use device tree. MIPS: Remove usage of CEVT_R4K_LIB config option. ...
63 lines
1.9 KiB
C
63 lines
1.9 KiB
C
/*
|
|
* 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.
|
|
*
|
|
* Copyright (C) 1996, 97, 98, 99, 2000, 01, 03, 04, 05, 12 by Ralf Baechle
|
|
* Copyright (C) 1999, 2000, 01 Silicon Graphics, Inc.
|
|
*/
|
|
#include <linux/interrupt.h>
|
|
#include <linux/export.h>
|
|
#include <asm/checksum.h>
|
|
#include <linux/mm.h>
|
|
#include <asm/uaccess.h>
|
|
#include <asm/ftrace.h>
|
|
|
|
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);
|
|
|
|
/*
|
|
* Functions that operate on entire pages. Mostly used by memory management.
|
|
*/
|
|
EXPORT_SYMBOL(clear_page);
|
|
EXPORT_SYMBOL(copy_page);
|
|
|
|
/*
|
|
* Userspace access stuff.
|
|
*/
|
|
EXPORT_SYMBOL(__copy_user);
|
|
EXPORT_SYMBOL(__copy_user_inatomic);
|
|
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);
|
|
EXPORT_SYMBOL(csum_partial_copy_nocheck);
|
|
EXPORT_SYMBOL(__csum_partial_copy_user);
|
|
|
|
EXPORT_SYMBOL(invalid_pte_table);
|
|
#ifdef CONFIG_FUNCTION_TRACER
|
|
/* _mcount is defined in arch/mips/kernel/mcount.S */
|
|
EXPORT_SYMBOL(_mcount);
|
|
#endif
|