aboutsummaryrefslogtreecommitdiffstats
path: root/arch/frv/kernel/frv_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/frv/kernel/frv_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/frv/kernel/frv_ksyms.c')
-rw-r--r--arch/frv/kernel/frv_ksyms.c124
1 files changed, 124 insertions, 0 deletions
diff --git a/arch/frv/kernel/frv_ksyms.c b/arch/frv/kernel/frv_ksyms.c
new file mode 100644
index 000000000000..62cfbd9b4f98
--- /dev/null
+++ b/arch/frv/kernel/frv_ksyms.c
@@ -0,0 +1,124 @@
1#include <linux/module.h>
2#include <linux/linkage.h>
3#include <linux/sched.h>
4#include <linux/string.h>
5#include <linux/mm.h>
6#include <linux/user.h>
7#include <linux/elfcore.h>
8#include <linux/in6.h>
9#include <linux/interrupt.h>
10#include <linux/config.h>
11
12#include <asm/setup.h>
13#include <asm/pgalloc.h>
14#include <asm/irq.h>
15#include <asm/io.h>
16#include <asm/semaphore.h>
17#include <asm/checksum.h>
18#include <asm/hardirq.h>
19#include <asm/current.h>
20
21extern void dump_thread(struct pt_regs *, struct user *);
22extern long __memcpy_user(void *dst, const void *src, size_t count);
23
24/* platform dependent support */
25
26EXPORT_SYMBOL(__ioremap);
27EXPORT_SYMBOL(iounmap);
28
29EXPORT_SYMBOL(dump_thread);
30EXPORT_SYMBOL(strnlen);
31EXPORT_SYMBOL(strrchr);
32EXPORT_SYMBOL(strstr);
33EXPORT_SYMBOL(strchr);
34EXPORT_SYMBOL(strcat);
35EXPORT_SYMBOL(strlen);
36EXPORT_SYMBOL(strcmp);
37EXPORT_SYMBOL(strncmp);
38EXPORT_SYMBOL(strncpy);
39
40EXPORT_SYMBOL(ip_fast_csum);
41
42#if 0
43EXPORT_SYMBOL(local_irq_count);
44EXPORT_SYMBOL(local_bh_count);
45#endif
46EXPORT_SYMBOL(kernel_thread);
47
48EXPORT_SYMBOL(enable_irq);
49EXPORT_SYMBOL(disable_irq);
50EXPORT_SYMBOL(__res_bus_clock_speed_HZ);
51EXPORT_SYMBOL(__page_offset);
52EXPORT_SYMBOL(__memcpy_user);
53EXPORT_SYMBOL(flush_dcache_page);
54
55#ifndef CONFIG_MMU
56EXPORT_SYMBOL(memory_start);
57EXPORT_SYMBOL(memory_end);
58#endif
59
60EXPORT_SYMBOL(__debug_bug_trap);
61
62/* Networking helper routines. */
63EXPORT_SYMBOL(csum_partial_copy);
64
65/* The following are special because they're not called
66 explicitly (the C compiler generates them). Fortunately,
67 their interface isn't gonna change any time soon now, so
68 it's OK to leave it out of version control. */
69EXPORT_SYMBOL(memcpy);
70EXPORT_SYMBOL(memset);
71EXPORT_SYMBOL(memcmp);
72EXPORT_SYMBOL(memscan);
73EXPORT_SYMBOL(memmove);
74EXPORT_SYMBOL(strtok);
75
76EXPORT_SYMBOL(get_wchan);
77
78#ifdef CONFIG_FRV_OUTOFLINE_ATOMIC_OPS
79EXPORT_SYMBOL(atomic_test_and_ANDNOT_mask);
80EXPORT_SYMBOL(atomic_test_and_OR_mask);
81EXPORT_SYMBOL(atomic_test_and_XOR_mask);
82EXPORT_SYMBOL(atomic_add_return);
83EXPORT_SYMBOL(atomic_sub_return);
84EXPORT_SYMBOL(__xchg_8);
85EXPORT_SYMBOL(__xchg_16);
86EXPORT_SYMBOL(__xchg_32);
87EXPORT_SYMBOL(__cmpxchg_8);
88EXPORT_SYMBOL(__cmpxchg_16);
89EXPORT_SYMBOL(__cmpxchg_32);
90#endif
91
92/*
93 * libgcc functions - functions that are used internally by the
94 * compiler... (prototypes are not correct though, but that
95 * doesn't really matter since they're not versioned).
96 */
97extern void __gcc_bcmp(void);
98extern void __ashldi3(void);
99extern void __ashrdi3(void);
100extern void __cmpdi2(void);
101extern void __divdi3(void);
102extern void __lshrdi3(void);
103extern void __moddi3(void);
104extern void __muldi3(void);
105extern void __negdi2(void);
106extern void __ucmpdi2(void);
107extern void __udivdi3(void);
108extern void __udivmoddi4(void);
109extern void __umoddi3(void);
110
111 /* gcc lib functions */
112//EXPORT_SYMBOL(__gcc_bcmp);
113EXPORT_SYMBOL(__ashldi3);
114EXPORT_SYMBOL(__ashrdi3);
115//EXPORT_SYMBOL(__cmpdi2);
116//EXPORT_SYMBOL(__divdi3);
117EXPORT_SYMBOL(__lshrdi3);
118//EXPORT_SYMBOL(__moddi3);
119EXPORT_SYMBOL(__muldi3);
120EXPORT_SYMBOL(__negdi2);
121//EXPORT_SYMBOL(__ucmpdi2);
122//EXPORT_SYMBOL(__udivdi3);
123//EXPORT_SYMBOL(__udivmoddi4);
124//EXPORT_SYMBOL(__umoddi3);