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(memset);
34 EXPORT_SYMBOL(strpbrk);
36 #include <asm/atomic.h>
37 EXPORT_SYMBOL(__xchg8);
38 EXPORT_SYMBOL(__xchg32);
39 EXPORT_SYMBOL(__cmpxchg_u32);
41 EXPORT_SYMBOL(__atomic_hash);
44 EXPORT_SYMBOL(__xchg64);
45 EXPORT_SYMBOL(__cmpxchg_u64);
48 #include <asm/uaccess.h>
49 EXPORT_SYMBOL(lstrncpy_from_user);
50 EXPORT_SYMBOL(lclear_user);
51 EXPORT_SYMBOL(lstrnlen_user);
54 extern void fixup_get_user_skip_1(void);
55 extern void fixup_get_user_skip_2(void);
56 extern void fixup_put_user_skip_1(void);
57 extern void fixup_put_user_skip_2(void);
58 EXPORT_SYMBOL(fixup_get_user_skip_1);
59 EXPORT_SYMBOL(fixup_get_user_skip_2);
60 EXPORT_SYMBOL(fixup_put_user_skip_1);
61 EXPORT_SYMBOL(fixup_put_user_skip_2);
64 /* Needed so insmod can set dp value */
66 EXPORT_SYMBOL($global$);
70 EXPORT_SYMBOL(memcpy_toio);
71 EXPORT_SYMBOL(memcpy_fromio);
72 EXPORT_SYMBOL(memset_io);
74 #include <asm/unistd.h>
75 EXPORT_SYMBOL(sys_lseek);
76 EXPORT_SYMBOL(sys_write);
78 #include <asm/semaphore.h>
80 EXPORT_SYMBOL(__down_interruptible);
81 EXPORT_SYMBOL(__down);
83 extern void $$divI(void);
84 extern void $$divU(void);
85 extern void $$remI(void);
86 extern void $$remU(void);
87 extern void $$mulI(void);
88 extern void $$divU_3(void);
89 extern void $$divU_5(void);
90 extern void $$divU_6(void);
91 extern void $$divU_9(void);
92 extern void $$divU_10(void);
93 extern void $$divU_12(void);
94 extern void $$divU_7(void);
95 extern void $$divU_14(void);
96 extern void $$divU_15(void);
97 extern void $$divI_3(void);
98 extern void $$divI_5(void);
99 extern void $$divI_6(void);
100 extern void $$divI_7(void);
101 extern void $$divI_9(void);
102 extern void $$divI_10(void);
103 extern void $$divI_12(void);
104 extern void $$divI_14(void);
105 extern void $$divI_15(void);
107 EXPORT_SYMBOL($$divI);
108 EXPORT_SYMBOL($$divU);
109 EXPORT_SYMBOL($$remI);
110 EXPORT_SYMBOL($$remU);
111 EXPORT_SYMBOL($$mulI);
112 EXPORT_SYMBOL($$divU_3);
113 EXPORT_SYMBOL($$divU_5);
114 EXPORT_SYMBOL($$divU_6);
115 EXPORT_SYMBOL($$divU_9);
116 EXPORT_SYMBOL($$divU_10);
117 EXPORT_SYMBOL($$divU_12);
118 EXPORT_SYMBOL($$divU_7);
119 EXPORT_SYMBOL($$divU_14);
120 EXPORT_SYMBOL($$divU_15);
121 EXPORT_SYMBOL($$divI_3);
122 EXPORT_SYMBOL($$divI_5);
123 EXPORT_SYMBOL($$divI_6);
124 EXPORT_SYMBOL($$divI_7);
125 EXPORT_SYMBOL($$divI_9);
126 EXPORT_SYMBOL($$divI_10);
127 EXPORT_SYMBOL($$divI_12);
128 EXPORT_SYMBOL($$divI_14);
129 EXPORT_SYMBOL($$divI_15);
131 extern void __ashrdi3(void);
132 extern void __ashldi3(void);
133 extern void __lshrdi3(void);
134 extern void __muldi3(void);
136 EXPORT_SYMBOL(__ashrdi3);
137 EXPORT_SYMBOL(__ashldi3);
138 EXPORT_SYMBOL(__lshrdi3);
139 EXPORT_SYMBOL(__muldi3);
141 asmlinkage void * __canonicalize_funcptr_for_compare(void *);
142 EXPORT_SYMBOL(__canonicalize_funcptr_for_compare);
145 extern void __divdi3(void);
146 extern void __udivdi3(void);
147 extern void __umoddi3(void);
148 extern void __moddi3(void);
150 EXPORT_SYMBOL(__divdi3);
151 EXPORT_SYMBOL(__udivdi3);
152 EXPORT_SYMBOL(__umoddi3);
153 EXPORT_SYMBOL(__moddi3);
157 extern void $$dyncall(void);
158 EXPORT_SYMBOL($$dyncall);
161 #ifdef CONFIG_DISCONTIGMEM
162 #include <asm/mmzone.h>
163 EXPORT_SYMBOL(node_data);
164 EXPORT_SYMBOL(pfnnid_map);