Merge to Fedora kernel-2.6.18-1.2224_FC5 patched with stable patch-2.6.18.1-vs2.0...
[linux-2.6.git] / arch / x86_64 / kernel / x8664_ksyms.c
1 /* Exports for assembly files.
2    All C exports should go in the respective C files. */
3
4 #include <linux/module.h>
5 #include <linux/smp.h>
6
7 #include <asm/semaphore.h>
8 #include <asm/processor.h>
9 #include <asm/uaccess.h>
10 #include <asm/pgtable.h>
11
12 EXPORT_SYMBOL(kernel_thread);
13
14 EXPORT_SYMBOL(__down_failed);
15 EXPORT_SYMBOL(__down_failed_interruptible);
16 EXPORT_SYMBOL(__down_failed_trylock);
17 EXPORT_SYMBOL(__up_wakeup);
18
19 EXPORT_SYMBOL(__get_user_1);
20 EXPORT_SYMBOL(__get_user_2);
21 EXPORT_SYMBOL(__get_user_4);
22 EXPORT_SYMBOL(__get_user_8);
23 EXPORT_SYMBOL(__put_user_1);
24 EXPORT_SYMBOL(__put_user_2);
25 EXPORT_SYMBOL(__put_user_4);
26 EXPORT_SYMBOL(__put_user_8);
27
28 EXPORT_SYMBOL(copy_user_generic);
29 EXPORT_SYMBOL(copy_from_user);
30 EXPORT_SYMBOL(copy_to_user);
31
32 EXPORT_SYMBOL(copy_page);
33 EXPORT_SYMBOL(clear_page);
34
35 #ifdef CONFIG_SMP
36 extern void FASTCALL( __write_lock_failed(rwlock_t *rw));
37 extern void FASTCALL( __read_lock_failed(rwlock_t *rw));
38 EXPORT_SYMBOL(__write_lock_failed);
39 EXPORT_SYMBOL(__read_lock_failed);
40 #endif
41
42 /* Export string functions. We normally rely on gcc builtin for most of these,
43    but gcc sometimes decides not to inline them. */    
44 #undef memcpy
45 #undef memset
46 #undef memmove
47
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);
51
52 EXPORT_SYMBOL(memset);
53 EXPORT_SYMBOL(memcpy);
54 EXPORT_SYMBOL(__memcpy);
55
56 EXPORT_SYMBOL(empty_zero_page);
57 EXPORT_SYMBOL(init_level4_pgt);
58 EXPORT_SYMBOL(load_gs_index);
59