]>
Commit | Line | Data |
---|---|---|
2ee60e17 AK |
1 | /* Exports for assembly files. |
2 | All C exports should go in the respective C files. */ | |
3 | ||
1da177e4 LT |
4 | #include <linux/module.h> |
5 | #include <linux/smp.h> | |
1da177e4 | 6 | |
37135677 IM |
7 | #include <net/checksum.h> |
8 | ||
1da177e4 | 9 | #include <asm/processor.h> |
1da177e4 | 10 | #include <asm/pgtable.h> |
37135677 | 11 | #include <asm/uaccess.h> |
70fd93c9 | 12 | #include <asm/desc.h> |
395a59d0 | 13 | #include <asm/ftrace.h> |
1da177e4 | 14 | |
606576ce | 15 | #ifdef CONFIG_FUNCTION_TRACER |
d57c5d51 SR |
16 | /* mcount and __fentry__ are defined in assembly */ |
17 | #ifdef CC_USING_FENTRY | |
18 | EXPORT_SYMBOL(__fentry__); | |
19 | #else | |
37135677 IM |
20 | EXPORT_SYMBOL(mcount); |
21 | #endif | |
d57c5d51 | 22 | #endif |
1da177e4 | 23 | |
1da177e4 LT |
24 | EXPORT_SYMBOL(__get_user_1); |
25 | EXPORT_SYMBOL(__get_user_2); | |
26 | EXPORT_SYMBOL(__get_user_4); | |
27 | EXPORT_SYMBOL(__get_user_8); | |
28 | EXPORT_SYMBOL(__put_user_1); | |
29 | EXPORT_SYMBOL(__put_user_2); | |
30 | EXPORT_SYMBOL(__put_user_4); | |
31 | EXPORT_SYMBOL(__put_user_8); | |
32 | ||
1b1d9258 JB |
33 | EXPORT_SYMBOL(copy_user_generic_string); |
34 | EXPORT_SYMBOL(copy_user_generic_unrolled); | |
954e482b | 35 | EXPORT_SYMBOL(copy_user_enhanced_fast_string); |
0812a579 | 36 | EXPORT_SYMBOL(__copy_user_nocache); |
9f0cf4ad | 37 | EXPORT_SYMBOL(_copy_from_user); |
3c93ca00 | 38 | EXPORT_SYMBOL(_copy_to_user); |
1da177e4 LT |
39 | |
40 | EXPORT_SYMBOL(copy_page); | |
41 | EXPORT_SYMBOL(clear_page); | |
42 | ||
89804c02 IM |
43 | EXPORT_SYMBOL(csum_partial); |
44 | ||
8000a83f PC |
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 | */ | |
1da177e4 LT |
49 | #undef memcpy |
50 | #undef memset | |
51 | #undef memmove | |
1da177e4 | 52 | |
393f203f AR |
53 | extern void *__memset(void *, int, __kernel_size_t); |
54 | extern void *__memcpy(void *, const void *, __kernel_size_t); | |
55 | extern void *__memmove(void *, const void *, __kernel_size_t); | |
8000a83f PC |
56 | extern void *memset(void *, int, __kernel_size_t); |
57 | extern void *memcpy(void *, const void *, __kernel_size_t); | |
393f203f AR |
58 | extern void *memmove(void *, const void *, __kernel_size_t); |
59 | ||
60 | EXPORT_SYMBOL(__memset); | |
61 | EXPORT_SYMBOL(__memcpy); | |
62 | EXPORT_SYMBOL(__memmove); | |
1da177e4 LT |
63 | |
64 | EXPORT_SYMBOL(memset); | |
1da177e4 | 65 | EXPORT_SYMBOL(memcpy); |
9599ec04 | 66 | EXPORT_SYMBOL(memmove); |
1da177e4 | 67 | |
0bdf525f AD |
68 | #ifndef CONFIG_DEBUG_VIRTUAL |
69 | EXPORT_SYMBOL(phys_base); | |
70 | #endif | |
1da177e4 | 71 | EXPORT_SYMBOL(empty_zero_page); |
e6428047 RR |
72 | #ifndef CONFIG_PARAVIRT |
73 | EXPORT_SYMBOL(native_load_gs_index); | |
74 | #endif | |
1a338ac3 PZ |
75 | |
76 | #ifdef CONFIG_PREEMPT | |
77 | EXPORT_SYMBOL(___preempt_schedule); | |
78 | #ifdef CONFIG_CONTEXT_TRACKING | |
79 | EXPORT_SYMBOL(___preempt_schedule_context); | |
80 | #endif | |
81 | #endif |