Merge branch 'for-next' of git://gitorious.org/kernel-hsi/kernel-hsi
[deliverable/linux.git] / arch / arm / kernel / armksyms.c
CommitLineData
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 */
ecea4ab6 10#include <linux/export.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>
395a59d0 21#include <asm/ftrace.h>
1da177e4
LT
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 */
28extern void __ashldi3(void);
29extern void __ashrdi3(void);
30extern void __divsi3(void);
31extern void __lshrdi3(void);
32extern void __modsi3(void);
33extern void __muldi3(void);
34extern void __ucmpdi2(void);
1da177e4
LT
35extern void __udivsi3(void);
36extern void __umodsi3(void);
37extern void __do_div64(void);
38
ba95e4e4
NP
39extern void __aeabi_idiv(void);
40extern void __aeabi_idivmod(void);
41extern void __aeabi_lasr(void);
42extern void __aeabi_llsl(void);
43extern void __aeabi_llsr(void);
44extern void __aeabi_lmul(void);
45extern void __aeabi_uidiv(void);
46extern void __aeabi_uidivmod(void);
47extern void __aeabi_ulcmp(void);
48
1da177e4 49extern void fpundefinstr(void);
1da177e4 50
1da177e4
LT
51 /* platform dependent support */
52EXPORT_SYMBOL(__udelay);
53EXPORT_SYMBOL(__const_udelay);
54
55 /* networking */
56EXPORT_SYMBOL(csum_partial);
487194a1 57EXPORT_SYMBOL(csum_partial_copy_from_user);
1da177e4
LT
58EXPORT_SYMBOL(csum_partial_copy_nocheck);
59EXPORT_SYMBOL(__csum_ipv6_magic);
60
61 /* io */
62#ifndef __raw_readsb
63EXPORT_SYMBOL(__raw_readsb);
64#endif
65#ifndef __raw_readsw
66EXPORT_SYMBOL(__raw_readsw);
67#endif
68#ifndef __raw_readsl
69EXPORT_SYMBOL(__raw_readsl);
70#endif
71#ifndef __raw_writesb
72EXPORT_SYMBOL(__raw_writesb);
73#endif
74#ifndef __raw_writesw
75EXPORT_SYMBOL(__raw_writesw);
76#endif
77#ifndef __raw_writesl
78EXPORT_SYMBOL(__raw_writesl);
79#endif
80
81 /* string / mem functions */
1da177e4 82EXPORT_SYMBOL(strchr);
1da177e4 83EXPORT_SYMBOL(strrchr);
1da177e4
LT
84EXPORT_SYMBOL(memset);
85EXPORT_SYMBOL(memcpy);
86EXPORT_SYMBOL(memmove);
1da177e4
LT
87EXPORT_SYMBOL(memchr);
88EXPORT_SYMBOL(__memzero);
89
90 /* user mem (segment) */
9641c7cc
RK
91EXPORT_SYMBOL(__strnlen_user);
92EXPORT_SYMBOL(__strncpy_from_user);
93
94#ifdef CONFIG_MMU
674a0a69
NP
95EXPORT_SYMBOL(copy_page);
96
02fcb974
RK
97EXPORT_SYMBOL(__copy_from_user);
98EXPORT_SYMBOL(__copy_to_user);
99EXPORT_SYMBOL(__clear_user);
1da177e4
LT
100
101EXPORT_SYMBOL(__get_user_1);
102EXPORT_SYMBOL(__get_user_2);
103EXPORT_SYMBOL(__get_user_4);
1da177e4
LT
104
105EXPORT_SYMBOL(__put_user_1);
106EXPORT_SYMBOL(__put_user_2);
107EXPORT_SYMBOL(__put_user_4);
108EXPORT_SYMBOL(__put_user_8);
9641c7cc 109#endif
1da177e4
LT
110
111 /* gcc lib functions */
112EXPORT_SYMBOL(__ashldi3);
113EXPORT_SYMBOL(__ashrdi3);
114EXPORT_SYMBOL(__divsi3);
115EXPORT_SYMBOL(__lshrdi3);
116EXPORT_SYMBOL(__modsi3);
117EXPORT_SYMBOL(__muldi3);
118EXPORT_SYMBOL(__ucmpdi2);
1da177e4
LT
119EXPORT_SYMBOL(__udivsi3);
120EXPORT_SYMBOL(__umodsi3);
121EXPORT_SYMBOL(__do_div64);
122
ba95e4e4
NP
123#ifdef CONFIG_AEABI
124EXPORT_SYMBOL(__aeabi_idiv);
125EXPORT_SYMBOL(__aeabi_idivmod);
126EXPORT_SYMBOL(__aeabi_lasr);
127EXPORT_SYMBOL(__aeabi_llsl);
128EXPORT_SYMBOL(__aeabi_llsr);
129EXPORT_SYMBOL(__aeabi_lmul);
130EXPORT_SYMBOL(__aeabi_uidiv);
131EXPORT_SYMBOL(__aeabi_uidivmod);
132EXPORT_SYMBOL(__aeabi_ulcmp);
133#endif
134
1da177e4 135 /* bitops */
6323f0cc
RK
136EXPORT_SYMBOL(_set_bit);
137EXPORT_SYMBOL(_test_and_set_bit);
138EXPORT_SYMBOL(_clear_bit);
139EXPORT_SYMBOL(_test_and_clear_bit);
140EXPORT_SYMBOL(_change_bit);
141EXPORT_SYMBOL(_test_and_change_bit);
1da177e4
LT
142EXPORT_SYMBOL(_find_first_zero_bit_le);
143EXPORT_SYMBOL(_find_next_zero_bit_le);
144EXPORT_SYMBOL(_find_first_bit_le);
145EXPORT_SYMBOL(_find_next_bit_le);
146
147#ifdef __ARMEB__
1da177e4
LT
148EXPORT_SYMBOL(_find_first_zero_bit_be);
149EXPORT_SYMBOL(_find_next_zero_bit_be);
150EXPORT_SYMBOL(_find_first_bit_be);
151EXPORT_SYMBOL(_find_next_bit_be);
152#endif
db2c4392 153
606576ce 154#ifdef CONFIG_FUNCTION_TRACER
09bfafac 155#ifdef CONFIG_OLD_MCOUNT
395a59d0 156EXPORT_SYMBOL(mcount);
09bfafac 157#endif
181f817e 158EXPORT_SYMBOL(__gnu_mcount_nc);
395a59d0 159#endif
dc21af99
RK
160
161#ifdef CONFIG_ARM_PATCH_PHYS_VIRT
162EXPORT_SYMBOL(__pv_phys_offset);
163#endif
This page took 0.526546 seconds and 5 git commands to generate.