Commit | Line | Data |
---|---|---|
1da177e4 | 1 | /* |
f30c2269 | 2 | * linux/arch/alpha/kernel/alpha_ksyms.c |
1da177e4 LT |
3 | * |
4 | * Export the alpha-specific functions that are needed for loadable | |
5 | * modules. | |
6 | */ | |
7 | ||
1da177e4 | 8 | #include <linux/module.h> |
1da177e4 | 9 | #include <asm/console.h> |
1da177e4 | 10 | #include <asm/uaccess.h> |
1da177e4 | 11 | #include <asm/checksum.h> |
1da177e4 | 12 | #include <asm/fpu.h> |
1da177e4 | 13 | #include <asm/machvec.h> |
1da177e4 | 14 | |
78b93f2d | 15 | #include <linux/syscalls.h> |
1da177e4 | 16 | |
1da177e4 LT |
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); | |
1da177e4 LT |
28 | EXPORT_SYMBOL(callback_getenv); |
29 | EXPORT_SYMBOL(callback_setenv); | |
30 | EXPORT_SYMBOL(callback_save_env); | |
1da177e4 LT |
31 | |
32 | /* platform dependent support */ | |
33 | EXPORT_SYMBOL(strcat); | |
1da177e4 LT |
34 | EXPORT_SYMBOL(strcpy); |
35 | EXPORT_SYMBOL(strlen); | |
1da177e4 | 36 | EXPORT_SYMBOL(strncpy); |
1da177e4 | 37 | EXPORT_SYMBOL(strncat); |
1da177e4 LT |
38 | EXPORT_SYMBOL(strchr); |
39 | EXPORT_SYMBOL(strrchr); | |
1da177e4 | 40 | EXPORT_SYMBOL(memmove); |
1da177e4 LT |
41 | EXPORT_SYMBOL(__memcpy); |
42 | EXPORT_SYMBOL(__memset); | |
a47e5bb5 | 43 | EXPORT_SYMBOL(___memset); |
1da177e4 LT |
44 | EXPORT_SYMBOL(__memsetw); |
45 | EXPORT_SYMBOL(__constant_c_memset); | |
46 | EXPORT_SYMBOL(copy_page); | |
47 | EXPORT_SYMBOL(clear_page); | |
48 | ||
1da177e4 LT |
49 | EXPORT_SYMBOL(alpha_read_fp_reg); |
50 | EXPORT_SYMBOL(alpha_read_fp_reg_s); | |
51 | EXPORT_SYMBOL(alpha_write_fp_reg); | |
52 | EXPORT_SYMBOL(alpha_write_fp_reg_s); | |
53 | ||
1da177e4 LT |
54 | /* Networking helper routines. */ |
55 | EXPORT_SYMBOL(csum_tcpudp_magic); | |
56 | EXPORT_SYMBOL(ip_compute_csum); | |
57 | EXPORT_SYMBOL(ip_fast_csum); | |
58 | EXPORT_SYMBOL(csum_partial_copy_nocheck); | |
59 | EXPORT_SYMBOL(csum_partial_copy_from_user); | |
60 | EXPORT_SYMBOL(csum_ipv6_magic); | |
61 | ||
62 | #ifdef CONFIG_MATHEMU_MODULE | |
63 | extern long (*alpha_fp_emul_imprecise)(struct pt_regs *, unsigned long); | |
64 | extern long (*alpha_fp_emul) (unsigned long pc); | |
65 | EXPORT_SYMBOL(alpha_fp_emul_imprecise); | |
66 | EXPORT_SYMBOL(alpha_fp_emul); | |
67 | #endif | |
68 | ||
1da177e4 LT |
69 | /* |
70 | * The following are specially called from the uaccess assembly stubs. | |
71 | */ | |
72 | EXPORT_SYMBOL(__copy_user); | |
73 | EXPORT_SYMBOL(__do_clear_user); | |
1da177e4 | 74 | |
1da177e4 LT |
75 | /* |
76 | * SMP-specific symbols. | |
77 | */ | |
78 | ||
79 | #ifdef CONFIG_SMP | |
1da177e4 | 80 | EXPORT_SYMBOL(_atomic_dec_and_lock); |
1da177e4 LT |
81 | #endif /* CONFIG_SMP */ |
82 | ||
1da177e4 LT |
83 | /* |
84 | * The following are special because they're not called | |
85 | * explicitly (the C compiler or assembler generates them in | |
86 | * response to division operations). Fortunately, their | |
87 | * interface isn't gonna change any time soon now, so it's OK | |
88 | * to leave it out of version control. | |
89 | */ | |
90 | # undef memcpy | |
91 | # undef memset | |
92 | EXPORT_SYMBOL(__divl); | |
93 | EXPORT_SYMBOL(__divlu); | |
94 | EXPORT_SYMBOL(__divq); | |
95 | EXPORT_SYMBOL(__divqu); | |
96 | EXPORT_SYMBOL(__reml); | |
97 | EXPORT_SYMBOL(__remlu); | |
98 | EXPORT_SYMBOL(__remq); | |
99 | EXPORT_SYMBOL(__remqu); | |
100 | EXPORT_SYMBOL(memcpy); | |
101 | EXPORT_SYMBOL(memset); | |
102 | EXPORT_SYMBOL(memchr); |