ARM: Build fix after Tegra14 K3.4 merge
[linux-3.10.git] / arch / arm / kernel / armksyms.c
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/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>
19
20 #include <asm/checksum.h>
21 #include <asm/ftrace.h>
22
23 /*
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).
27  */
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
39 extern void __aeabi_idiv(void);
40 extern void __aeabi_idivmod(void);
41 extern void __aeabi_lasr(void);
42 extern void __aeabi_llsl(void);
43 extern void __aeabi_llsr(void);
44 extern void __aeabi_lmul(void);
45 extern void __aeabi_uidiv(void);
46 extern void __aeabi_uidivmod(void);
47 extern void __aeabi_ulcmp(void);
48
49 extern void fpundefinstr(void);
50
51         /* platform dependent support */
52 EXPORT_SYMBOL(arm_delay_ops);
53
54         /* networking */
55 EXPORT_SYMBOL(csum_partial);
56 EXPORT_SYMBOL(csum_partial_copy_from_user);
57 EXPORT_SYMBOL(csum_partial_copy_nocheck);
58 EXPORT_SYMBOL(__csum_ipv6_magic);
59
60         /* io */
61 #ifndef __raw_readsb
62 EXPORT_SYMBOL(__raw_readsb);
63 #endif
64 #ifndef __raw_readsw
65 EXPORT_SYMBOL(__raw_readsw);
66 #endif
67 #ifndef __raw_readsl
68 EXPORT_SYMBOL(__raw_readsl);
69 #endif
70 #ifndef __raw_writesb
71 EXPORT_SYMBOL(__raw_writesb);
72 #endif
73 #ifndef __raw_writesw
74 EXPORT_SYMBOL(__raw_writesw);
75 #endif
76 #ifndef __raw_writesl
77 EXPORT_SYMBOL(__raw_writesl);
78 #endif
79
80         /* string / mem functions */
81 EXPORT_SYMBOL(strchr);
82 EXPORT_SYMBOL(strrchr);
83 EXPORT_SYMBOL(memset);
84 EXPORT_SYMBOL(memcpy);
85 EXPORT_SYMBOL(memmove);
86 EXPORT_SYMBOL(memchr);
87 EXPORT_SYMBOL(__memzero);
88
89 #ifdef CONFIG_MMU
90 EXPORT_SYMBOL(copy_page);
91
92 EXPORT_SYMBOL(__copy_from_user);
93 EXPORT_SYMBOL(__copy_to_user);
94 EXPORT_SYMBOL(__clear_user);
95
96 EXPORT_SYMBOL(__get_user_1);
97 EXPORT_SYMBOL(__get_user_2);
98 EXPORT_SYMBOL(__get_user_4);
99
100 EXPORT_SYMBOL(__put_user_1);
101 EXPORT_SYMBOL(__put_user_2);
102 EXPORT_SYMBOL(__put_user_4);
103 EXPORT_SYMBOL(__put_user_8);
104 #endif
105
106         /* gcc lib functions */
107 EXPORT_SYMBOL(__ashldi3);
108 EXPORT_SYMBOL(__ashrdi3);
109 EXPORT_SYMBOL(__divsi3);
110 EXPORT_SYMBOL(__lshrdi3);
111 EXPORT_SYMBOL(__modsi3);
112 EXPORT_SYMBOL(__muldi3);
113 EXPORT_SYMBOL(__ucmpdi2);
114 EXPORT_SYMBOL(__udivsi3);
115 EXPORT_SYMBOL(__umodsi3);
116 EXPORT_SYMBOL(__do_div64);
117
118 #ifdef CONFIG_AEABI
119 EXPORT_SYMBOL(__aeabi_idiv);
120 EXPORT_SYMBOL(__aeabi_idivmod);
121 EXPORT_SYMBOL(__aeabi_lasr);
122 EXPORT_SYMBOL(__aeabi_llsl);
123 EXPORT_SYMBOL(__aeabi_llsr);
124 EXPORT_SYMBOL(__aeabi_lmul);
125 EXPORT_SYMBOL(__aeabi_uidiv);
126 EXPORT_SYMBOL(__aeabi_uidivmod);
127 EXPORT_SYMBOL(__aeabi_ulcmp);
128 #endif
129
130         /* bitops */
131 EXPORT_SYMBOL(_set_bit);
132 EXPORT_SYMBOL(_test_and_set_bit);
133 EXPORT_SYMBOL(_clear_bit);
134 EXPORT_SYMBOL(_test_and_clear_bit);
135 EXPORT_SYMBOL(_change_bit);
136 EXPORT_SYMBOL(_test_and_change_bit);
137 EXPORT_SYMBOL(_find_first_zero_bit_le);
138 EXPORT_SYMBOL(_find_next_zero_bit_le);
139 EXPORT_SYMBOL(_find_first_bit_le);
140 EXPORT_SYMBOL(_find_next_bit_le);
141
142 #ifdef __ARMEB__
143 EXPORT_SYMBOL(_find_first_zero_bit_be);
144 EXPORT_SYMBOL(_find_next_zero_bit_be);
145 EXPORT_SYMBOL(_find_first_bit_be);
146 EXPORT_SYMBOL(_find_next_bit_be);
147 #endif
148
149 #ifdef CONFIG_FUNCTION_TRACER
150 #ifdef CONFIG_OLD_MCOUNT
151 EXPORT_SYMBOL(mcount);
152 #endif
153 EXPORT_SYMBOL(__gnu_mcount_nc);
154 #endif
155
156 #ifdef CONFIG_ARM_PATCH_PHYS_VIRT
157 EXPORT_SYMBOL(__pv_phys_offset);
158 #endif