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 |
37135677 IM |
16 | /* mcount is defined in assembly */ |
17 | EXPORT_SYMBOL(mcount); | |
18 | #endif | |
1da177e4 | 19 | |
1da177e4 LT |
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 | ||
1b1d9258 JB |
29 | EXPORT_SYMBOL(copy_user_generic_string); |
30 | EXPORT_SYMBOL(copy_user_generic_unrolled); | |
0812a579 | 31 | EXPORT_SYMBOL(__copy_user_nocache); |
9f0cf4ad | 32 | EXPORT_SYMBOL(_copy_from_user); |
3c93ca00 | 33 | EXPORT_SYMBOL(_copy_to_user); |
1da177e4 LT |
34 | |
35 | EXPORT_SYMBOL(copy_page); | |
36 | EXPORT_SYMBOL(clear_page); | |
37 | ||
89804c02 IM |
38 | EXPORT_SYMBOL(csum_partial); |
39 | ||
8000a83f PC |
40 | /* |
41 | * Export string functions. We normally rely on gcc builtin for most of these, | |
42 | * but gcc sometimes decides not to inline them. | |
43 | */ | |
1da177e4 LT |
44 | #undef memcpy |
45 | #undef memset | |
46 | #undef memmove | |
1da177e4 | 47 | |
8000a83f PC |
48 | extern void *memset(void *, int, __kernel_size_t); |
49 | extern void *memcpy(void *, const void *, __kernel_size_t); | |
50 | extern void *__memcpy(void *, const void *, __kernel_size_t); | |
1da177e4 LT |
51 | |
52 | EXPORT_SYMBOL(memset); | |
1da177e4 LT |
53 | EXPORT_SYMBOL(memcpy); |
54 | EXPORT_SYMBOL(__memcpy); | |
1da177e4 | 55 | |
1da177e4 | 56 | EXPORT_SYMBOL(empty_zero_page); |
e6428047 RR |
57 | #ifndef CONFIG_PARAVIRT |
58 | EXPORT_SYMBOL(native_load_gs_index); | |
59 | #endif |