ARM: mmp: fix potential NULL dereference
[linux/fpc-iii.git] / arch / x86 / kernel / x8664_ksyms_64.c
blob6020f6f5927cbc1035b7f86b1f19f1422ded0acf
1 /* Exports for assembly files.
2 All C exports should go in the respective C files. */
4 #include <linux/module.h>
5 #include <linux/smp.h>
7 #include <net/checksum.h>
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>
15 #ifdef CONFIG_FUNCTION_TRACER
16 /* mcount is defined in assembly */
17 EXPORT_SYMBOL(mcount);
18 #endif
20 EXPORT_SYMBOL(__get_user_1);
21 EXPORT_SYMBOL(__get_user_2);
22 EXPORT_SYMBOL(__get_user_4);
23 EXPORT_SYMBOL(__get_user_8);
24 EXPORT_SYMBOL(__put_user_1);
25 EXPORT_SYMBOL(__put_user_2);
26 EXPORT_SYMBOL(__put_user_4);
27 EXPORT_SYMBOL(__put_user_8);
29 EXPORT_SYMBOL(copy_user_generic_string);
30 EXPORT_SYMBOL(copy_user_generic_unrolled);
31 EXPORT_SYMBOL(copy_user_enhanced_fast_string);
32 EXPORT_SYMBOL(__copy_user_nocache);
33 EXPORT_SYMBOL(_copy_from_user);
34 EXPORT_SYMBOL(_copy_to_user);
36 EXPORT_SYMBOL(copy_page);
37 EXPORT_SYMBOL(clear_page);
39 EXPORT_SYMBOL(csum_partial);
42 * Export string functions. We normally rely on gcc builtin for most of these,
43 * but gcc sometimes decides not to inline them.
45 #undef memcpy
46 #undef memset
47 #undef memmove
49 extern void *memset(void *, int, __kernel_size_t);
50 extern void *memcpy(void *, const void *, __kernel_size_t);
51 extern void *__memcpy(void *, const void *, __kernel_size_t);
53 EXPORT_SYMBOL(memset);
54 EXPORT_SYMBOL(memcpy);
55 EXPORT_SYMBOL(__memcpy);
56 EXPORT_SYMBOL(memmove);
58 EXPORT_SYMBOL(empty_zero_page);
59 #ifndef CONFIG_PARAVIRT
60 EXPORT_SYMBOL(native_load_gs_index);
61 #endif