Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
[sfrench/cifs-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/config.h>
5 #include <linux/module.h>
6 #include <linux/smp.h>
7
8 #include <asm/semaphore.h>
9 #include <asm/processor.h>
10 #include <asm/uaccess.h>
11 #include <asm/pgtable.h>
12
13 EXPORT_SYMBOL(kernel_thread);
14
15 EXPORT_SYMBOL(__down_failed);
16 EXPORT_SYMBOL(__down_failed_interruptible);
17 EXPORT_SYMBOL(__down_failed_trylock);
18 EXPORT_SYMBOL(__up_wakeup);
19
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
29 EXPORT_SYMBOL(copy_user_generic);
30 EXPORT_SYMBOL(copy_from_user);
31 EXPORT_SYMBOL(copy_to_user);
32 EXPORT_SYMBOL(__copy_from_user_inatomic);
33
34 EXPORT_SYMBOL(copy_page);
35 EXPORT_SYMBOL(clear_page);
36
37 #ifdef CONFIG_SMP
38 extern void FASTCALL( __write_lock_failed(rwlock_t *rw));
39 extern void FASTCALL( __read_lock_failed(rwlock_t *rw));
40 EXPORT_SYMBOL(__write_lock_failed);
41 EXPORT_SYMBOL(__read_lock_failed);
42 #endif
43
44 /* Export string functions. We normally rely on gcc builtin for most of these,
45    but gcc sometimes decides not to inline them. */    
46 #undef memcpy
47 #undef memset
48 #undef memmove
49
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);
53
54 EXPORT_SYMBOL(memset);
55 EXPORT_SYMBOL(memcpy);
56 EXPORT_SYMBOL(__memcpy);
57
58 EXPORT_SYMBOL(empty_zero_page);
59 EXPORT_SYMBOL(init_level4_pgt);
60 EXPORT_SYMBOL(load_gs_index);
61