x86/mm/pat: Don't report PAT on CPUs that don't support it
[linux/fpc-iii.git] / arch / arm / kernel / armksyms.c
blob8e8d20cdbce736b251c93f3822f741893dd9824c
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>
19 #include <linux/arm-smccc.h>
21 #include <asm/checksum.h>
22 #include <asm/ftrace.h>
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).
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);
36 extern void __udivsi3(void);
37 extern void __umodsi3(void);
38 extern void __do_div64(void);
39 extern void __bswapsi2(void);
40 extern void __bswapdi2(void);
42 extern void __aeabi_idiv(void);
43 extern void __aeabi_idivmod(void);
44 extern void __aeabi_lasr(void);
45 extern void __aeabi_llsl(void);
46 extern void __aeabi_llsr(void);
47 extern void __aeabi_lmul(void);
48 extern void __aeabi_uidiv(void);
49 extern void __aeabi_uidivmod(void);
50 extern void __aeabi_ulcmp(void);
52 extern void fpundefinstr(void);
54 void mmioset(void *, unsigned int, size_t);
55 void mmiocpy(void *, const void *, size_t);
57 /* platform dependent support */
58 EXPORT_SYMBOL(arm_delay_ops);
60 /* networking */
61 EXPORT_SYMBOL(csum_partial);
62 EXPORT_SYMBOL(csum_partial_copy_from_user);
63 EXPORT_SYMBOL(csum_partial_copy_nocheck);
64 EXPORT_SYMBOL(__csum_ipv6_magic);
66 /* io */
67 #ifndef __raw_readsb
68 EXPORT_SYMBOL(__raw_readsb);
69 #endif
70 #ifndef __raw_readsw
71 EXPORT_SYMBOL(__raw_readsw);
72 #endif
73 #ifndef __raw_readsl
74 EXPORT_SYMBOL(__raw_readsl);
75 #endif
76 #ifndef __raw_writesb
77 EXPORT_SYMBOL(__raw_writesb);
78 #endif
79 #ifndef __raw_writesw
80 EXPORT_SYMBOL(__raw_writesw);
81 #endif
82 #ifndef __raw_writesl
83 EXPORT_SYMBOL(__raw_writesl);
84 #endif
86 /* string / mem functions */
87 EXPORT_SYMBOL(strchr);
88 EXPORT_SYMBOL(strrchr);
89 EXPORT_SYMBOL(memset);
90 EXPORT_SYMBOL(memcpy);
91 EXPORT_SYMBOL(memmove);
92 EXPORT_SYMBOL(memchr);
93 EXPORT_SYMBOL(__memzero);
95 EXPORT_SYMBOL(mmioset);
96 EXPORT_SYMBOL(mmiocpy);
98 #ifdef CONFIG_MMU
99 EXPORT_SYMBOL(copy_page);
101 EXPORT_SYMBOL(arm_copy_from_user);
102 EXPORT_SYMBOL(arm_copy_to_user);
103 EXPORT_SYMBOL(arm_clear_user);
105 EXPORT_SYMBOL(__get_user_1);
106 EXPORT_SYMBOL(__get_user_2);
107 EXPORT_SYMBOL(__get_user_4);
108 EXPORT_SYMBOL(__get_user_8);
110 #ifdef __ARMEB__
111 EXPORT_SYMBOL(__get_user_64t_1);
112 EXPORT_SYMBOL(__get_user_64t_2);
113 EXPORT_SYMBOL(__get_user_64t_4);
114 EXPORT_SYMBOL(__get_user_32t_8);
115 #endif
117 EXPORT_SYMBOL(__put_user_1);
118 EXPORT_SYMBOL(__put_user_2);
119 EXPORT_SYMBOL(__put_user_4);
120 EXPORT_SYMBOL(__put_user_8);
121 #endif
123 /* gcc lib functions */
124 EXPORT_SYMBOL(__ashldi3);
125 EXPORT_SYMBOL(__ashrdi3);
126 EXPORT_SYMBOL(__divsi3);
127 EXPORT_SYMBOL(__lshrdi3);
128 EXPORT_SYMBOL(__modsi3);
129 EXPORT_SYMBOL(__muldi3);
130 EXPORT_SYMBOL(__ucmpdi2);
131 EXPORT_SYMBOL(__udivsi3);
132 EXPORT_SYMBOL(__umodsi3);
133 EXPORT_SYMBOL(__do_div64);
134 EXPORT_SYMBOL(__bswapsi2);
135 EXPORT_SYMBOL(__bswapdi2);
137 #ifdef CONFIG_AEABI
138 EXPORT_SYMBOL(__aeabi_idiv);
139 EXPORT_SYMBOL(__aeabi_idivmod);
140 EXPORT_SYMBOL(__aeabi_lasr);
141 EXPORT_SYMBOL(__aeabi_llsl);
142 EXPORT_SYMBOL(__aeabi_llsr);
143 EXPORT_SYMBOL(__aeabi_lmul);
144 EXPORT_SYMBOL(__aeabi_uidiv);
145 EXPORT_SYMBOL(__aeabi_uidivmod);
146 EXPORT_SYMBOL(__aeabi_ulcmp);
147 #endif
149 /* bitops */
150 EXPORT_SYMBOL(_set_bit);
151 EXPORT_SYMBOL(_test_and_set_bit);
152 EXPORT_SYMBOL(_clear_bit);
153 EXPORT_SYMBOL(_test_and_clear_bit);
154 EXPORT_SYMBOL(_change_bit);
155 EXPORT_SYMBOL(_test_and_change_bit);
156 EXPORT_SYMBOL(_find_first_zero_bit_le);
157 EXPORT_SYMBOL(_find_next_zero_bit_le);
158 EXPORT_SYMBOL(_find_first_bit_le);
159 EXPORT_SYMBOL(_find_next_bit_le);
161 #ifdef __ARMEB__
162 EXPORT_SYMBOL(_find_first_zero_bit_be);
163 EXPORT_SYMBOL(_find_next_zero_bit_be);
164 EXPORT_SYMBOL(_find_first_bit_be);
165 EXPORT_SYMBOL(_find_next_bit_be);
166 #endif
168 #ifdef CONFIG_FUNCTION_TRACER
169 #ifdef CONFIG_OLD_MCOUNT
170 EXPORT_SYMBOL(mcount);
171 #endif
172 EXPORT_SYMBOL(__gnu_mcount_nc);
173 #endif
175 #ifdef CONFIG_ARM_PATCH_PHYS_VIRT
176 EXPORT_SYMBOL(__pv_phys_pfn_offset);
177 EXPORT_SYMBOL(__pv_offset);
178 #endif
180 #ifdef CONFIG_HAVE_ARM_SMCCC
181 EXPORT_SYMBOL(__arm_smccc_smc);
182 EXPORT_SYMBOL(__arm_smccc_hvc);
183 #endif