aboutsummaryrefslogtreecommitdiffstats
path: root/arch/frv/kernel/frv_ksyms.c
diff options
context:
space:
mode:
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);