1 /* Exports for assembly files.
2 All C exports should go in the respective C files. */
4 #include <linux/module.h>
7 #include <net/checksum.h>
9 #include <asm/processor.h>
10 #include <asm/pgtable.h>
11 #include <asm/uaccess.h>
13 #include <asm/ftrace.h>
15 #ifdef CONFIG_FUNCTION_TRACER
16 /* mcount is defined in assembly */
17 EXPORT_SYMBOL(mcount
);
20 EXPORT_SYMBOL(kernel_thread
);
22 EXPORT_SYMBOL(__get_user_1
);
23 EXPORT_SYMBOL(__get_user_2
);
24 EXPORT_SYMBOL(__get_user_4
);
25 EXPORT_SYMBOL(__get_user_8
);
26 EXPORT_SYMBOL(__put_user_1
);
27 EXPORT_SYMBOL(__put_user_2
);
28 EXPORT_SYMBOL(__put_user_4
);
29 EXPORT_SYMBOL(__put_user_8
);
31 EXPORT_SYMBOL(copy_user_generic
);
32 EXPORT_SYMBOL(__copy_user_nocache
);
33 EXPORT_SYMBOL(copy_from_user
);
34 EXPORT_SYMBOL(copy_to_user
);
35 EXPORT_SYMBOL(__copy_from_user_inatomic
);
37 EXPORT_SYMBOL(copy_page
);
38 EXPORT_SYMBOL(clear_page
);
40 EXPORT_SYMBOL(csum_partial
);
43 * Export string functions. We normally rely on gcc builtin for most of these,
44 * but gcc sometimes decides not to inline them.
50 extern void *memset(void *, int, __kernel_size_t
);
51 extern void *memcpy(void *, const void *, __kernel_size_t
);
52 extern void *__memcpy(void *, const void *, __kernel_size_t
);
54 EXPORT_SYMBOL(memset
);
55 EXPORT_SYMBOL(memcpy
);
56 EXPORT_SYMBOL(__memcpy
);
58 EXPORT_SYMBOL(empty_zero_page
);
59 EXPORT_SYMBOL(init_level4_pgt
);
60 EXPORT_SYMBOL(load_gs_index
);