2006-06-26 19:59:44 +08:00
|
|
|
/* Exports for assembly files.
|
|
|
|
All C exports should go in the respective C files. */
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
#include <linux/module.h>
|
|
|
|
#include <linux/smp.h>
|
|
|
|
|
2008-05-14 14:10:31 +08:00
|
|
|
#include <net/checksum.h>
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
#include <asm/processor.h>
|
|
|
|
#include <asm/pgtable.h>
|
2008-05-14 14:10:31 +08:00
|
|
|
#include <asm/uaccess.h>
|
2008-01-30 20:31:10 +08:00
|
|
|
#include <asm/desc.h>
|
2008-06-22 02:17:27 +08:00
|
|
|
#include <asm/ftrace.h>
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2008-10-07 07:06:12 +08:00
|
|
|
#ifdef CONFIG_FUNCTION_TRACER
|
2008-05-14 14:10:31 +08:00
|
|
|
/* mcount is defined in assembly */
|
|
|
|
EXPORT_SYMBOL(mcount);
|
|
|
|
#endif
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
EXPORT_SYMBOL(__get_user_1);
|
|
|
|
EXPORT_SYMBOL(__get_user_2);
|
|
|
|
EXPORT_SYMBOL(__get_user_4);
|
|
|
|
EXPORT_SYMBOL(__get_user_8);
|
|
|
|
EXPORT_SYMBOL(__put_user_1);
|
|
|
|
EXPORT_SYMBOL(__put_user_2);
|
|
|
|
EXPORT_SYMBOL(__put_user_4);
|
|
|
|
EXPORT_SYMBOL(__put_user_8);
|
|
|
|
|
2009-12-19 00:12:56 +08:00
|
|
|
EXPORT_SYMBOL(copy_user_generic_string);
|
|
|
|
EXPORT_SYMBOL(copy_user_generic_unrolled);
|
2007-02-13 20:26:19 +08:00
|
|
|
EXPORT_SYMBOL(__copy_user_nocache);
|
2009-09-26 20:33:01 +08:00
|
|
|
EXPORT_SYMBOL(_copy_from_user);
|
2009-11-16 22:42:18 +08:00
|
|
|
EXPORT_SYMBOL(_copy_to_user);
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
EXPORT_SYMBOL(copy_page);
|
|
|
|
EXPORT_SYMBOL(clear_page);
|
|
|
|
|
2008-05-13 16:36:22 +08:00
|
|
|
EXPORT_SYMBOL(csum_partial);
|
|
|
|
|
2008-02-20 06:34:02 +08:00
|
|
|
/*
|
|
|
|
* Export string functions. We normally rely on gcc builtin for most of these,
|
|
|
|
* but gcc sometimes decides not to inline them.
|
|
|
|
*/
|
2005-04-17 06:20:36 +08:00
|
|
|
#undef memcpy
|
|
|
|
#undef memset
|
|
|
|
#undef memmove
|
|
|
|
|
2008-02-20 06:34:02 +08:00
|
|
|
extern void *memset(void *, int, __kernel_size_t);
|
|
|
|
extern void *memcpy(void *, const void *, __kernel_size_t);
|
|
|
|
extern void *__memcpy(void *, const void *, __kernel_size_t);
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
EXPORT_SYMBOL(memset);
|
|
|
|
EXPORT_SYMBOL(memcpy);
|
|
|
|
EXPORT_SYMBOL(__memcpy);
|
|
|
|
|
|
|
|
EXPORT_SYMBOL(empty_zero_page);
|
2009-12-16 06:28:13 +08:00
|
|
|
#ifndef CONFIG_PARAVIRT
|
|
|
|
EXPORT_SYMBOL(native_load_gs_index);
|
|
|
|
#endif
|