2 * Architecture-specific kernel symbols
4 * Copyright (C) 2000-2001 Richard Hirst <rhirst with parisc-linux.org>
5 * Copyright (C) 2001 Dave Kennedy
6 * Copyright (C) 2001 Paul Bame <bame at parisc-linux.org>
7 * Copyright (C) 2001-2003 Grant Grundler <grundler with parisc-linux.org>
8 * Copyright (C) 2002-2003 Matthew Wilcox <willy at parisc-linux.org>
9 * Copyright (C) 2002 Randolph Chung <tausq at parisc-linux.org>
10 * Copyright (C) 2002-2003 Helge Deller <deller with parisc-linux.org>
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 2 of the License, or
15 * (at your option) any later version.
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, write to the Free Software
24 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
27 #include <linux/config.h>
28 #include <linux/module.h>
29 #include <linux/kernel.h>
30 #include <linux/syscalls.h>
32 #include <linux/string.h>
33 EXPORT_SYMBOL(memchr
);
34 EXPORT_SYMBOL(memcmp
);
35 EXPORT_SYMBOL(memmove
);
36 EXPORT_SYMBOL(memscan
);
37 EXPORT_SYMBOL(memset
);
38 EXPORT_SYMBOL(strcat
);
39 EXPORT_SYMBOL(strchr
);
40 EXPORT_SYMBOL(strcmp
);
41 EXPORT_SYMBOL(strcpy
);
42 EXPORT_SYMBOL(strlen
);
43 EXPORT_SYMBOL(strncat
);
44 EXPORT_SYMBOL(strncmp
);
45 EXPORT_SYMBOL(strncpy
);
46 EXPORT_SYMBOL(strnlen
);
47 EXPORT_SYMBOL(strrchr
);
48 EXPORT_SYMBOL(strstr
);
49 EXPORT_SYMBOL(strpbrk
);
52 EXPORT_SYMBOL(pm_power_off
);
54 #include <asm/atomic.h>
55 EXPORT_SYMBOL(__xchg8
);
56 EXPORT_SYMBOL(__xchg32
);
57 EXPORT_SYMBOL(__cmpxchg_u32
);
59 EXPORT_SYMBOL(__atomic_hash
);
62 EXPORT_SYMBOL(__xchg64
);
63 EXPORT_SYMBOL(__cmpxchg_u64
);
66 #include <asm/uaccess.h>
67 EXPORT_SYMBOL(lstrncpy_from_user
);
68 EXPORT_SYMBOL(lclear_user
);
69 EXPORT_SYMBOL(lstrnlen_user
);
72 extern void fixup_get_user_skip_1(void);
73 extern void fixup_get_user_skip_2(void);
74 extern void fixup_put_user_skip_1(void);
75 extern void fixup_put_user_skip_2(void);
76 EXPORT_SYMBOL(fixup_get_user_skip_1
);
77 EXPORT_SYMBOL(fixup_get_user_skip_2
);
78 EXPORT_SYMBOL(fixup_put_user_skip_1
);
79 EXPORT_SYMBOL(fixup_put_user_skip_2
);
82 /* Needed so insmod can set dp value */
84 EXPORT_SYMBOL($global$
);
88 EXPORT_SYMBOL(__ioremap
);
89 EXPORT_SYMBOL(iounmap
);
90 EXPORT_SYMBOL(memcpy_toio
);
91 EXPORT_SYMBOL(memcpy_fromio
);
92 EXPORT_SYMBOL(memset_io
);
94 #include <asm/unistd.h>
95 EXPORT_SYMBOL(sys_open
);
96 EXPORT_SYMBOL(sys_lseek
);
97 EXPORT_SYMBOL(sys_read
);
98 EXPORT_SYMBOL(sys_write
);
100 #include <asm/semaphore.h>
102 EXPORT_SYMBOL(__down_interruptible
);
103 EXPORT_SYMBOL(__down
);
105 extern void $$
divI(void);
106 extern void $$
divU(void);
107 extern void $$
remI(void);
108 extern void $$
remU(void);
109 extern void $$
mulI(void);
110 extern void $$
divU_3(void);
111 extern void $$
divU_5(void);
112 extern void $$
divU_6(void);
113 extern void $$
divU_9(void);
114 extern void $$
divU_10(void);
115 extern void $$
divU_12(void);
116 extern void $$
divU_7(void);
117 extern void $$
divU_14(void);
118 extern void $$
divU_15(void);
119 extern void $$
divI_3(void);
120 extern void $$
divI_5(void);
121 extern void $$
divI_6(void);
122 extern void $$
divI_7(void);
123 extern void $$
divI_9(void);
124 extern void $$
divI_10(void);
125 extern void $$
divI_12(void);
126 extern void $$
divI_14(void);
127 extern void $$
divI_15(void);
129 EXPORT_SYMBOL($$divI
);
130 EXPORT_SYMBOL($$divU
);
131 EXPORT_SYMBOL($$remI
);
132 EXPORT_SYMBOL($$remU
);
133 EXPORT_SYMBOL($$mulI
);
134 EXPORT_SYMBOL($$divU_3
);
135 EXPORT_SYMBOL($$divU_5
);
136 EXPORT_SYMBOL($$divU_6
);
137 EXPORT_SYMBOL($$divU_9
);
138 EXPORT_SYMBOL($$divU_10
);
139 EXPORT_SYMBOL($$divU_12
);
140 EXPORT_SYMBOL($$divU_7
);
141 EXPORT_SYMBOL($$divU_14
);
142 EXPORT_SYMBOL($$divU_15
);
143 EXPORT_SYMBOL($$divI_3
);
144 EXPORT_SYMBOL($$divI_5
);
145 EXPORT_SYMBOL($$divI_6
);
146 EXPORT_SYMBOL($$divI_7
);
147 EXPORT_SYMBOL($$divI_9
);
148 EXPORT_SYMBOL($$divI_10
);
149 EXPORT_SYMBOL($$divI_12
);
150 EXPORT_SYMBOL($$divI_14
);
151 EXPORT_SYMBOL($$divI_15
);
153 extern void __ashrdi3(void);
154 extern void __ashldi3(void);
155 extern void __lshrdi3(void);
156 extern void __muldi3(void);
158 EXPORT_SYMBOL(__ashrdi3
);
159 EXPORT_SYMBOL(__ashldi3
);
160 EXPORT_SYMBOL(__lshrdi3
);
161 EXPORT_SYMBOL(__muldi3
);
163 asmlinkage
void * __canonicalize_funcptr_for_compare(void *);
164 EXPORT_SYMBOL(__canonicalize_funcptr_for_compare
);
167 extern void __divdi3(void);
168 extern void __udivdi3(void);
169 extern void __umoddi3(void);
170 extern void __moddi3(void);
172 EXPORT_SYMBOL(__divdi3
);
173 EXPORT_SYMBOL(__udivdi3
);
174 EXPORT_SYMBOL(__umoddi3
);
175 EXPORT_SYMBOL(__moddi3
);
179 extern void $$
dyncall(void);
180 EXPORT_SYMBOL($$dyncall
);
183 #ifdef CONFIG_DISCONTIGMEM
184 #include <asm/mmzone.h>
185 EXPORT_SYMBOL(node_data
);
186 EXPORT_SYMBOL(pfnnid_map
);