Merge branch 'fix/hda' into for-linus
[pandora-kernel.git] / arch / x86 / kernel / x8664_ksyms_64.c
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 is defined in assembly */
17 EXPORT_SYMBOL(mcount);
18 #endif
19
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);
28
29 EXPORT_SYMBOL(copy_user_generic);
30 EXPORT_SYMBOL(__copy_user_nocache);
31 EXPORT_SYMBOL(_copy_from_user);
32 EXPORT_SYMBOL(_copy_to_user);
33
34 EXPORT_SYMBOL(copy_page);
35 EXPORT_SYMBOL(clear_page);
36
37 EXPORT_SYMBOL(csum_partial);
38
39 /*
40  * Export string functions. We normally rely on gcc builtin for most of these,
41  * but gcc sometimes decides not to inline them.
42  */
43 #undef memcpy
44 #undef memset
45 #undef memmove
46
47 extern void *memset(void *, int, __kernel_size_t);
48 extern void *memcpy(void *, const void *, __kernel_size_t);
49 extern void *__memcpy(void *, const void *, __kernel_size_t);
50
51 EXPORT_SYMBOL(memset);
52 EXPORT_SYMBOL(memcpy);
53 EXPORT_SYMBOL(__memcpy);
54
55 EXPORT_SYMBOL(empty_zero_page);
56 EXPORT_SYMBOL(init_level4_pgt);
57 #ifndef CONFIG_PARAVIRT
58 EXPORT_SYMBOL(native_load_gs_index);
59 #endif