Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
alpha_ksyms.c
Go to the documentation of this file.
1 /*
2  * linux/arch/alpha/kernel/alpha_ksyms.c
3  *
4  * Export the alpha-specific functions that are needed for loadable
5  * modules.
6  */
7 
8 #include <linux/module.h>
9 #include <asm/console.h>
10 #include <asm/uaccess.h>
11 #include <asm/checksum.h>
12 #include <asm/fpu.h>
13 #include <asm/machvec.h>
14 
15 #include <linux/syscalls.h>
16 
17 /* these are C runtime functions with special calling conventions: */
18 extern void __divl (void);
19 extern void __reml (void);
20 extern void __divq (void);
21 extern void __remq (void);
22 extern void __divlu (void);
23 extern void __remlu (void);
24 extern void __divqu (void);
25 extern void __remqu (void);
26 
27 EXPORT_SYMBOL(alpha_mv);
28 EXPORT_SYMBOL(callback_getenv);
29 EXPORT_SYMBOL(callback_setenv);
30 EXPORT_SYMBOL(callback_save_env);
31 
32 /* platform dependent support */
36 EXPORT_SYMBOL(strncpy);
42 EXPORT_SYMBOL(__memset);
43 EXPORT_SYMBOL(__memsetw);
44 EXPORT_SYMBOL(__constant_c_memset);
47 
52 
53 /* Networking helper routines. */
60 
61 #ifdef CONFIG_MATHEMU_MODULE
62 extern long (*alpha_fp_emul_imprecise)(struct pt_regs *, unsigned long);
63 extern long (*alpha_fp_emul) (unsigned long pc);
66 #endif
67 
68 /*
69  * The following are specially called from the uaccess assembly stubs.
70  */
73 
74 /*
75  * SMP-specific symbols.
76  */
77 
78 #ifdef CONFIG_SMP
80 #endif /* CONFIG_SMP */
81 
82 /*
83  * The following are special because they're not called
84  * explicitly (the C compiler or assembler generates them in
85  * response to division operations). Fortunately, their
86  * interface isn't gonna change any time soon now, so it's OK
87  * to leave it out of version control.
88  */
89 # undef memcpy
90 # undef memset