Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
x8664_ksyms_64.c
Go to the documentation of this file.
1 /* Exports for assembly files.
2  All C exports should go in the respective C files. */
3 
4 #include <linux/module.h>
5 #include <linux/smp.h>
6 
7 #include <net/checksum.h>
8 
9 #include <asm/processor.h>
10 #include <asm/pgtable.h>
11 #include <asm/uaccess.h>
12 #include <asm/desc.h>
13 #include <asm/ftrace.h>
14 
15 #ifdef CONFIG_FUNCTION_TRACER
16 /* mcount and __fentry__ are defined in assembly */
17 #ifdef CC_USING_FENTRY
18 EXPORT_SYMBOL(__fentry__);
19 #else
20 EXPORT_SYMBOL(mcount);
21 #endif
22 #endif
23 
32 
37 EXPORT_SYMBOL(_copy_from_user);
39 
42 
44 
45 /*
46  * Export string functions. We normally rely on gcc builtin for most of these,
47  * but gcc sometimes decides not to inline them.
48  */
49 #undef memcpy
50 #undef memset
51 #undef memmove
52 
53 extern void *memset(void *, int, __kernel_size_t);
54 extern void *memcpy(void *, const void *, __kernel_size_t);
55 extern void *__memcpy(void *, const void *, __kernel_size_t);
56 
61 
63 #ifndef CONFIG_PARAVIRT
64 EXPORT_SYMBOL(native_load_gs_index);
65 #endif