Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[cascardo/linux.git] / arch / x86 / kernel / i386_ksyms_32.c
1 #include <linux/export.h>
2 #include <linux/spinlock_types.h>
3
4 #include <asm/checksum.h>
5 #include <asm/pgtable.h>
6 #include <asm/desc.h>
7 #include <asm/ftrace.h>
8
9 #ifdef CONFIG_FUNCTION_TRACER
10 /* mcount is defined in assembly */
11 EXPORT_SYMBOL(mcount);
12 #endif
13
14 /*
15  * Note, this is a prototype to get at the symbol for
16  * the export, but dont use it from C code, it is used
17  * by assembly code and is not using C calling convention!
18  */
19 #ifndef CONFIG_X86_CMPXCHG64
20 extern void cmpxchg8b_emu(void);
21 EXPORT_SYMBOL(cmpxchg8b_emu);
22 #endif
23
24 /* Networking helper routines. */
25 EXPORT_SYMBOL(csum_partial_copy_generic);
26
27 EXPORT_SYMBOL(__get_user_1);
28 EXPORT_SYMBOL(__get_user_2);
29 EXPORT_SYMBOL(__get_user_4);
30 EXPORT_SYMBOL(__get_user_8);
31
32 EXPORT_SYMBOL(__put_user_1);
33 EXPORT_SYMBOL(__put_user_2);
34 EXPORT_SYMBOL(__put_user_4);
35 EXPORT_SYMBOL(__put_user_8);
36
37 EXPORT_SYMBOL(strstr);
38
39 EXPORT_SYMBOL(csum_partial);
40 EXPORT_SYMBOL(empty_zero_page);
41
42 #ifdef CONFIG_PREEMPT
43 EXPORT_SYMBOL(___preempt_schedule);
44 EXPORT_SYMBOL(___preempt_schedule_notrace);
45 #endif
46
47 EXPORT_SYMBOL(__sw_hweight32);