Merge tag 'locks-v3.16-2' of git://git.samba.org/jlayton/linux
[linux/fpc-iii.git] / arch / arm / kernel / armksyms.c
blobf7b450f97e6884bf5d28de653e7d291f809ab1d1
1 /*
2 * linux/arch/arm/kernel/armksyms.c
4 * Copyright (C) 2000 Russell King
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/export.h>
11 #include <linux/sched.h>
12 #include <linux/string.h>
13 #include <linux/cryptohash.h>
14 #include <linux/delay.h>
15 #include <linux/in6.h>
16 #include <linux/syscalls.h>
17 #include <linux/uaccess.h>
18 #include <linux/io.h>
20 #include <asm/checksum.h>
21 #include <asm/ftrace.h>
24 * libgcc functions - functions that are used internally by the
25 * compiler... (prototypes are not correct though, but that
26 * doesn't really matter since they're not versioned).
28 extern void __ashldi3(void);
29 extern void __ashrdi3(void);
30 extern void __divsi3(void);
31 extern void __lshrdi3(void);
32 extern void __modsi3(void);
33 extern void __muldi3(void);
34 extern void __ucmpdi2(void);
35 extern void __udivsi3(void);
36 extern void __umodsi3(void);
37 extern void __do_div64(void);
38 extern void __bswapsi2(void);
39 extern void __bswapdi2(void);
41 extern void __aeabi_idiv(void);
42 extern void __aeabi_idivmod(void);
43 extern void __aeabi_lasr(void);
44 extern void __aeabi_llsl(void);
45 extern void __aeabi_llsr(void);
46 extern void __aeabi_lmul(void);
47 extern void __aeabi_uidiv(void);
48 extern void __aeabi_uidivmod(void);
49 extern void __aeabi_ulcmp(void);
51 extern void fpundefinstr(void);
53 /* platform dependent support */
54 EXPORT_SYMBOL(arm_delay_ops);
56 /* networking */
57 EXPORT_SYMBOL(csum_partial);
58 EXPORT_SYMBOL(csum_partial_copy_from_user);
59 EXPORT_SYMBOL(csum_partial_copy_nocheck);
60 EXPORT_SYMBOL(__csum_ipv6_magic);
62 /* io */
63 #ifndef __raw_readsb
64 EXPORT_SYMBOL(__raw_readsb);
65 #endif
66 #ifndef __raw_readsw
67 EXPORT_SYMBOL(__raw_readsw);
68 #endif
69 #ifndef __raw_readsl
70 EXPORT_SYMBOL(__raw_readsl);
71 #endif
72 #ifndef __raw_writesb
73 EXPORT_SYMBOL(__raw_writesb);
74 #endif
75 #ifndef __raw_writesw
76 EXPORT_SYMBOL(__raw_writesw);
77 #endif
78 #ifndef __raw_writesl
79 EXPORT_SYMBOL(__raw_writesl);
80 #endif
82 /* string / mem functions */
83 EXPORT_SYMBOL(strchr);
84 EXPORT_SYMBOL(strrchr);
85 EXPORT_SYMBOL(memset);
86 EXPORT_SYMBOL(memcpy);
87 EXPORT_SYMBOL(memmove);
88 EXPORT_SYMBOL(memchr);
89 EXPORT_SYMBOL(__memzero);
91 #ifdef CONFIG_MMU
92 EXPORT_SYMBOL(copy_page);
94 EXPORT_SYMBOL(__copy_from_user);
95 EXPORT_SYMBOL(__copy_to_user);
96 EXPORT_SYMBOL(__clear_user);
98 EXPORT_SYMBOL(__get_user_1);
99 EXPORT_SYMBOL(__get_user_2);
100 EXPORT_SYMBOL(__get_user_4);
102 EXPORT_SYMBOL(__put_user_1);
103 EXPORT_SYMBOL(__put_user_2);
104 EXPORT_SYMBOL(__put_user_4);
105 EXPORT_SYMBOL(__put_user_8);
106 #endif
108 /* gcc lib functions */
109 EXPORT_SYMBOL(__ashldi3);
110 EXPORT_SYMBOL(__ashrdi3);
111 EXPORT_SYMBOL(__divsi3);
112 EXPORT_SYMBOL(__lshrdi3);
113 EXPORT_SYMBOL(__modsi3);
114 EXPORT_SYMBOL(__muldi3);
115 EXPORT_SYMBOL(__ucmpdi2);
116 EXPORT_SYMBOL(__udivsi3);
117 EXPORT_SYMBOL(__umodsi3);
118 EXPORT_SYMBOL(__do_div64);
119 EXPORT_SYMBOL(__bswapsi2);
120 EXPORT_SYMBOL(__bswapdi2);
122 #ifdef CONFIG_AEABI
123 EXPORT_SYMBOL(__aeabi_idiv);
124 EXPORT_SYMBOL(__aeabi_idivmod);
125 EXPORT_SYMBOL(__aeabi_lasr);
126 EXPORT_SYMBOL(__aeabi_llsl);
127 EXPORT_SYMBOL(__aeabi_llsr);
128 EXPORT_SYMBOL(__aeabi_lmul);
129 EXPORT_SYMBOL(__aeabi_uidiv);
130 EXPORT_SYMBOL(__aeabi_uidivmod);
131 EXPORT_SYMBOL(__aeabi_ulcmp);
132 #endif
134 /* bitops */
135 EXPORT_SYMBOL(_set_bit);
136 EXPORT_SYMBOL(_test_and_set_bit);
137 EXPORT_SYMBOL(_clear_bit);
138 EXPORT_SYMBOL(_test_and_clear_bit);
139 EXPORT_SYMBOL(_change_bit);
140 EXPORT_SYMBOL(_test_and_change_bit);
141 EXPORT_SYMBOL(_find_first_zero_bit_le);
142 EXPORT_SYMBOL(_find_next_zero_bit_le);
143 EXPORT_SYMBOL(_find_first_bit_le);
144 EXPORT_SYMBOL(_find_next_bit_le);
146 #ifdef __ARMEB__
147 EXPORT_SYMBOL(_find_first_zero_bit_be);
148 EXPORT_SYMBOL(_find_next_zero_bit_be);
149 EXPORT_SYMBOL(_find_first_bit_be);
150 EXPORT_SYMBOL(_find_next_bit_be);
151 #endif
153 #ifdef CONFIG_FUNCTION_TRACER
154 #ifdef CONFIG_OLD_MCOUNT
155 EXPORT_SYMBOL(mcount);
156 #endif
157 EXPORT_SYMBOL(__gnu_mcount_nc);
158 #endif
160 #ifdef CONFIG_ARM_PATCH_PHYS_VIRT
161 EXPORT_SYMBOL(__pv_phys_pfn_offset);
162 EXPORT_SYMBOL(__pv_offset);
163 #endif