1 /* Exports for assembly files.
2 All C exports should go in the respective C files. */
4 #include <linux/module.h>
7 #include <asm/semaphore.h>
8 #include <asm/processor.h>
9 #include <asm/uaccess.h>
10 #include <asm/pgtable.h>
13 EXPORT_SYMBOL(kernel_thread);
15 EXPORT_SYMBOL(__down_failed);
16 EXPORT_SYMBOL(__down_failed_interruptible);
17 EXPORT_SYMBOL(__down_failed_trylock);
18 EXPORT_SYMBOL(__up_wakeup);
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);
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 EXPORT_SYMBOL(__copy_from_user_inatomic);
35 EXPORT_SYMBOL(copy_page);
36 EXPORT_SYMBOL(clear_page);
39 * Export string functions. We normally rely on gcc builtin for most of these,
40 * but gcc sometimes decides not to inline them.
46 extern void *memset(void *, int, __kernel_size_t);
47 extern void *memcpy(void *, const void *, __kernel_size_t);
48 extern void *__memcpy(void *, const void *, __kernel_size_t);
50 EXPORT_SYMBOL(memset);
51 EXPORT_SYMBOL(memcpy);
52 EXPORT_SYMBOL(__memcpy);
54 EXPORT_SYMBOL(empty_zero_page);
55 EXPORT_SYMBOL(init_level4_pgt);
56 EXPORT_SYMBOL(load_gs_index);
58 EXPORT_SYMBOL(_proxy_pda);
60 #ifdef CONFIG_PARAVIRT
61 /* Virtualized guests may want to use it */
62 EXPORT_SYMBOL_GPL(cpu_gdt_descr);