Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | /* |
2 | * linux/arch/arm/kernel/armksyms.c | |
3 | * | |
4 | * Copyright (C) 2000 Russell King | |
5 | * | |
6 | * This program is free software; you can redistribute it and/or modify | |
7 | * it under the terms of the GNU General Public License version 2 as | |
8 | * published by the Free Software Foundation. | |
9 | */ | |
10 | #include <linux/module.h> | |
87c52578 | 11 | #include <linux/sched.h> |
1da177e4 | 12 | #include <linux/string.h> |
d07ad967 | 13 | #include <linux/cryptohash.h> |
1da177e4 LT |
14 | #include <linux/delay.h> |
15 | #include <linux/in6.h> | |
16 | #include <linux/syscalls.h> | |
33fa9b13 | 17 | #include <linux/uaccess.h> |
fced80c7 | 18 | #include <linux/io.h> |
1da177e4 LT |
19 | |
20 | #include <asm/checksum.h> | |
1da177e4 | 21 | #include <asm/system.h> |
395a59d0 | 22 | #include <asm/ftrace.h> |
1da177e4 LT |
23 | |
24 | /* | |
25 | * libgcc functions - functions that are used internally by the | |
26 | * compiler... (prototypes are not correct though, but that | |
27 | * doesn't really matter since they're not versioned). | |
28 | */ | |
29 | extern void __ashldi3(void); | |
30 | extern void __ashrdi3(void); | |
31 | extern void __divsi3(void); | |
32 | extern void __lshrdi3(void); | |
33 | extern void __modsi3(void); | |
34 | extern void __muldi3(void); | |
35 | extern void __ucmpdi2(void); | |
1da177e4 LT |
36 | extern void __udivsi3(void); |
37 | extern void __umodsi3(void); | |
38 | extern void __do_div64(void); | |
39 | ||
ba95e4e4 NP |
40 | extern void __aeabi_idiv(void); |
41 | extern void __aeabi_idivmod(void); | |
42 | extern void __aeabi_lasr(void); | |
43 | extern void __aeabi_llsl(void); | |
44 | extern void __aeabi_llsr(void); | |
45 | extern void __aeabi_lmul(void); | |
46 | extern void __aeabi_uidiv(void); | |
47 | extern void __aeabi_uidivmod(void); | |
48 | extern void __aeabi_ulcmp(void); | |
49 | ||
1da177e4 | 50 | extern void fpundefinstr(void); |
1da177e4 | 51 | |
1da177e4 LT |
52 | |
53 | EXPORT_SYMBOL(__backtrace); | |
54 | ||
55 | /* platform dependent support */ | |
56 | EXPORT_SYMBOL(__udelay); | |
57 | EXPORT_SYMBOL(__const_udelay); | |
58 | ||
59 | /* networking */ | |
60 | EXPORT_SYMBOL(csum_partial); | |
487194a1 | 61 | EXPORT_SYMBOL(csum_partial_copy_from_user); |
1da177e4 LT |
62 | EXPORT_SYMBOL(csum_partial_copy_nocheck); |
63 | EXPORT_SYMBOL(__csum_ipv6_magic); | |
64 | ||
65 | /* io */ | |
66 | #ifndef __raw_readsb | |
67 | EXPORT_SYMBOL(__raw_readsb); | |
68 | #endif | |
69 | #ifndef __raw_readsw | |
70 | EXPORT_SYMBOL(__raw_readsw); | |
71 | #endif | |
72 | #ifndef __raw_readsl | |
73 | EXPORT_SYMBOL(__raw_readsl); | |
74 | #endif | |
75 | #ifndef __raw_writesb | |
76 | EXPORT_SYMBOL(__raw_writesb); | |
77 | #endif | |
78 | #ifndef __raw_writesw | |
79 | EXPORT_SYMBOL(__raw_writesw); | |
80 | #endif | |
81 | #ifndef __raw_writesl | |
82 | EXPORT_SYMBOL(__raw_writesl); | |
83 | #endif | |
84 | ||
85 | /* string / mem functions */ | |
1da177e4 | 86 | EXPORT_SYMBOL(strchr); |
1da177e4 | 87 | EXPORT_SYMBOL(strrchr); |
1da177e4 LT |
88 | EXPORT_SYMBOL(memset); |
89 | EXPORT_SYMBOL(memcpy); | |
90 | EXPORT_SYMBOL(memmove); | |
1da177e4 LT |
91 | EXPORT_SYMBOL(memchr); |
92 | EXPORT_SYMBOL(__memzero); | |
93 | ||
94 | /* user mem (segment) */ | |
9641c7cc RK |
95 | EXPORT_SYMBOL(__strnlen_user); |
96 | EXPORT_SYMBOL(__strncpy_from_user); | |
97 | ||
98 | #ifdef CONFIG_MMU | |
674a0a69 NP |
99 | EXPORT_SYMBOL(copy_page); |
100 | ||
02fcb974 RK |
101 | EXPORT_SYMBOL(__copy_from_user); |
102 | EXPORT_SYMBOL(__copy_to_user); | |
103 | EXPORT_SYMBOL(__clear_user); | |
1da177e4 LT |
104 | |
105 | EXPORT_SYMBOL(__get_user_1); | |
106 | EXPORT_SYMBOL(__get_user_2); | |
107 | EXPORT_SYMBOL(__get_user_4); | |
1da177e4 LT |
108 | |
109 | EXPORT_SYMBOL(__put_user_1); | |
110 | EXPORT_SYMBOL(__put_user_2); | |
111 | EXPORT_SYMBOL(__put_user_4); | |
112 | EXPORT_SYMBOL(__put_user_8); | |
9641c7cc | 113 | #endif |
1da177e4 | 114 | |
d07ad967 NP |
115 | /* crypto hash */ |
116 | EXPORT_SYMBOL(sha_transform); | |
117 | ||
1da177e4 LT |
118 | /* gcc lib functions */ |
119 | EXPORT_SYMBOL(__ashldi3); | |
120 | EXPORT_SYMBOL(__ashrdi3); | |
121 | EXPORT_SYMBOL(__divsi3); | |
122 | EXPORT_SYMBOL(__lshrdi3); | |
123 | EXPORT_SYMBOL(__modsi3); | |
124 | EXPORT_SYMBOL(__muldi3); | |
125 | EXPORT_SYMBOL(__ucmpdi2); | |
1da177e4 LT |
126 | EXPORT_SYMBOL(__udivsi3); |
127 | EXPORT_SYMBOL(__umodsi3); | |
128 | EXPORT_SYMBOL(__do_div64); | |
129 | ||
ba95e4e4 NP |
130 | #ifdef CONFIG_AEABI |
131 | EXPORT_SYMBOL(__aeabi_idiv); | |
132 | EXPORT_SYMBOL(__aeabi_idivmod); | |
133 | EXPORT_SYMBOL(__aeabi_lasr); | |
134 | EXPORT_SYMBOL(__aeabi_llsl); | |
135 | EXPORT_SYMBOL(__aeabi_llsr); | |
136 | EXPORT_SYMBOL(__aeabi_lmul); | |
137 | EXPORT_SYMBOL(__aeabi_uidiv); | |
138 | EXPORT_SYMBOL(__aeabi_uidivmod); | |
139 | EXPORT_SYMBOL(__aeabi_ulcmp); | |
140 | #endif | |
141 | ||
1da177e4 | 142 | /* bitops */ |
6323f0cc RK |
143 | EXPORT_SYMBOL(_set_bit); |
144 | EXPORT_SYMBOL(_test_and_set_bit); | |
145 | EXPORT_SYMBOL(_clear_bit); | |
146 | EXPORT_SYMBOL(_test_and_clear_bit); | |
147 | EXPORT_SYMBOL(_change_bit); | |
148 | EXPORT_SYMBOL(_test_and_change_bit); | |
1da177e4 LT |
149 | EXPORT_SYMBOL(_find_first_zero_bit_le); |
150 | EXPORT_SYMBOL(_find_next_zero_bit_le); | |
151 | EXPORT_SYMBOL(_find_first_bit_le); | |
152 | EXPORT_SYMBOL(_find_next_bit_le); | |
153 | ||
154 | #ifdef __ARMEB__ | |
1da177e4 LT |
155 | EXPORT_SYMBOL(_find_first_zero_bit_be); |
156 | EXPORT_SYMBOL(_find_next_zero_bit_be); | |
157 | EXPORT_SYMBOL(_find_first_bit_be); | |
158 | EXPORT_SYMBOL(_find_next_bit_be); | |
159 | #endif | |
db2c4392 | 160 | |
606576ce | 161 | #ifdef CONFIG_FUNCTION_TRACER |
09bfafac | 162 | #ifdef CONFIG_OLD_MCOUNT |
395a59d0 | 163 | EXPORT_SYMBOL(mcount); |
09bfafac | 164 | #endif |
181f817e | 165 | EXPORT_SYMBOL(__gnu_mcount_nc); |
395a59d0 | 166 | #endif |
dc21af99 RK |
167 | |
168 | #ifdef CONFIG_ARM_PATCH_PHYS_VIRT | |
169 | EXPORT_SYMBOL(__pv_phys_offset); | |
170 | #endif |