aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc/kernel/parisc_ksyms.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
commit1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch)
tree0bba044c4ce775e45a88a51686b5d9f90697ea9d /arch/parisc/kernel/parisc_ksyms.c
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
Diffstat (limited to 'arch/parisc/kernel/parisc_ksyms.c')
-rw-r--r--arch/parisc/kernel/parisc_ksyms.c187
1 files changed, 187 insertions, 0 deletions
diff --git a/arch/parisc/kernel/parisc_ksyms.c b/arch/parisc/kernel/parisc_ksyms.c
new file mode 100644
index 000000000000..f40a777dd388
--- /dev/null
+++ b/arch/parisc/kernel/parisc_ksyms.c
@@ -0,0 +1,187 @@
1/*
2 * Architecture-specific kernel symbols
3 *
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>
11 *
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.
16 *
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.
21 *
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
25 */
26
27#include <linux/config.h>
28#include <linux/module.h>
29#include <linux/kernel.h>
30#include <linux/syscalls.h>
31
32#include <linux/string.h>
33EXPORT_SYMBOL(memchr);
34EXPORT_SYMBOL(memcmp);
35EXPORT_SYMBOL(memmove);
36EXPORT_SYMBOL(memscan);
37EXPORT_SYMBOL(memset);
38EXPORT_SYMBOL(strcat);
39EXPORT_SYMBOL(strchr);
40EXPORT_SYMBOL(strcmp);
41EXPORT_SYMBOL(strcpy);
42EXPORT_SYMBOL(strlen);
43EXPORT_SYMBOL(strncat);
44EXPORT_SYMBOL(strncmp);
45EXPORT_SYMBOL(strncpy);
46EXPORT_SYMBOL(strnlen);
47EXPORT_SYMBOL(strrchr);
48EXPORT_SYMBOL(strstr);
49EXPORT_SYMBOL(strpbrk);
50
51#include <linux/pm.h>
52EXPORT_SYMBOL(pm_power_off);
53
54#include <asm/atomic.h>
55EXPORT_SYMBOL(__xchg8);
56EXPORT_SYMBOL(__xchg32);
57EXPORT_SYMBOL(__cmpxchg_u32);
58#ifdef CONFIG_SMP
59EXPORT_SYMBOL(__atomic_hash);
60#endif
61#ifdef __LP64__
62EXPORT_SYMBOL(__xchg64);
63EXPORT_SYMBOL(__cmpxchg_u64);
64#endif
65
66#include <asm/uaccess.h>
67EXPORT_SYMBOL(lstrncpy_from_user);
68EXPORT_SYMBOL(lclear_user);
69EXPORT_SYMBOL(lstrnlen_user);
70
71/* Global fixups */
72extern void fixup_get_user_skip_1(void);
73extern void fixup_get_user_skip_2(void);
74extern void fixup_put_user_skip_1(void);
75extern void fixup_put_user_skip_2(void);
76EXPORT_SYMBOL(fixup_get_user_skip_1);
77EXPORT_SYMBOL(fixup_get_user_skip_2);
78EXPORT_SYMBOL(fixup_put_user_skip_1);
79EXPORT_SYMBOL(fixup_put_user_skip_2);
80
81#ifndef __LP64__
82/* Needed so insmod can set dp value */
83extern int $global$;
84EXPORT_SYMBOL($global$);
85#endif
86
87#include <asm/io.h>
88EXPORT_SYMBOL(__ioremap);
89EXPORT_SYMBOL(iounmap);
90EXPORT_SYMBOL(memcpy_toio);
91EXPORT_SYMBOL(memcpy_fromio);
92EXPORT_SYMBOL(memset_io);
93
94#include <asm/unistd.h>
95EXPORT_SYMBOL(sys_open);
96EXPORT_SYMBOL(sys_lseek);
97EXPORT_SYMBOL(sys_read);
98EXPORT_SYMBOL(sys_write);
99
100#include <asm/semaphore.h>
101EXPORT_SYMBOL(__up);
102EXPORT_SYMBOL(__down_interruptible);
103EXPORT_SYMBOL(__down);
104
105extern void $$divI(void);
106extern void $$divU(void);
107extern void $$remI(void);
108extern void $$remU(void);
109extern void $$mulI(void);
110extern void $$divU_3(void);
111extern void $$divU_5(void);
112extern void $$divU_6(void);
113extern void $$divU_9(void);
114extern void $$divU_10(void);
115extern void $$divU_12(void);
116extern void $$divU_7(void);
117extern void $$divU_14(void);
118extern void $$divU_15(void);
119extern void $$divI_3(void);
120extern void $$divI_5(void);
121extern void $$divI_6(void);
122extern void $$divI_7(void);
123extern void $$divI_9(void);
124extern void $$divI_10(void);
125extern void $$divI_12(void);
126extern void $$divI_14(void);
127extern void $$divI_15(void);
128
129EXPORT_SYMBOL($$divI);
130EXPORT_SYMBOL($$divU);
131EXPORT_SYMBOL($$remI);
132EXPORT_SYMBOL($$remU);
133EXPORT_SYMBOL($$mulI);
134EXPORT_SYMBOL($$divU_3);
135EXPORT_SYMBOL($$divU_5);
136EXPORT_SYMBOL($$divU_6);
137EXPORT_SYMBOL($$divU_9);
138EXPORT_SYMBOL($$divU_10);
139EXPORT_SYMBOL($$divU_12);
140EXPORT_SYMBOL($$divU_7);
141EXPORT_SYMBOL($$divU_14);
142EXPORT_SYMBOL($$divU_15);
143EXPORT_SYMBOL($$divI_3);
144EXPORT_SYMBOL($$divI_5);
145EXPORT_SYMBOL($$divI_6);
146EXPORT_SYMBOL($$divI_7);
147EXPORT_SYMBOL($$divI_9);
148EXPORT_SYMBOL($$divI_10);
149EXPORT_SYMBOL($$divI_12);
150EXPORT_SYMBOL($$divI_14);
151EXPORT_SYMBOL($$divI_15);
152
153extern void __ashrdi3(void);
154extern void __ashldi3(void);
155extern void __lshrdi3(void);
156extern void __muldi3(void);
157
158EXPORT_SYMBOL(__ashrdi3);
159EXPORT_SYMBOL(__ashldi3);
160EXPORT_SYMBOL(__lshrdi3);
161EXPORT_SYMBOL(__muldi3);
162
163asmlinkage void * __canonicalize_funcptr_for_compare(void *);
164EXPORT_SYMBOL(__canonicalize_funcptr_for_compare);
165
166#ifdef __LP64__
167extern void __divdi3(void);
168extern void __udivdi3(void);
169extern void __umoddi3(void);
170extern void __moddi3(void);
171
172EXPORT_SYMBOL(__divdi3);
173EXPORT_SYMBOL(__udivdi3);
174EXPORT_SYMBOL(__umoddi3);
175EXPORT_SYMBOL(__moddi3);
176#endif
177
178#ifndef __LP64__
179extern void $$dyncall(void);
180EXPORT_SYMBOL($$dyncall);
181#endif
182
183#ifdef CONFIG_DISCONTIGMEM
184#include <asm/mmzone.h>
185EXPORT_SYMBOL(node_data);
186EXPORT_SYMBOL(pfnnid_map);
187#endif