[PATCH] dump_thread() cleanup
[linux-2.6.git] / arch / frv / kernel / frv_ksyms.c
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/cacheflush.h>
20
21 extern long __memcpy_user(void *dst, const void *src, size_t count);
22 extern long __memset_user(void *dst, const void *src, size_t count);
23
24 /* platform dependent support */
25
26 EXPORT_SYMBOL(__ioremap);
27 EXPORT_SYMBOL(iounmap);
28
29 EXPORT_SYMBOL(strnlen);
30 EXPORT_SYMBOL(strrchr);
31 EXPORT_SYMBOL(strstr);
32 EXPORT_SYMBOL(strchr);
33 EXPORT_SYMBOL(strcat);
34 EXPORT_SYMBOL(strlen);
35 EXPORT_SYMBOL(strcmp);
36 EXPORT_SYMBOL(strncmp);
37 EXPORT_SYMBOL(strncpy);
38
39 EXPORT_SYMBOL(ip_fast_csum);
40
41 #if 0
42 EXPORT_SYMBOL(local_irq_count);
43 EXPORT_SYMBOL(local_bh_count);
44 #endif
45 EXPORT_SYMBOL(kernel_thread);
46
47 EXPORT_SYMBOL(enable_irq);
48 EXPORT_SYMBOL(disable_irq);
49 EXPORT_SYMBOL(__res_bus_clock_speed_HZ);
50 EXPORT_SYMBOL(__page_offset);
51 EXPORT_SYMBOL(__memcpy_user);
52 EXPORT_SYMBOL(__memset_user);
53 EXPORT_SYMBOL(frv_dcache_writeback);
54 EXPORT_SYMBOL(frv_cache_invalidate);
55 EXPORT_SYMBOL(frv_icache_invalidate);
56 EXPORT_SYMBOL(frv_cache_wback_inv);
57
58 #ifndef CONFIG_MMU
59 EXPORT_SYMBOL(memory_start);
60 EXPORT_SYMBOL(memory_end);
61 #endif
62
63 EXPORT_SYMBOL(__debug_bug_trap);
64
65 /* Networking helper routines. */
66 EXPORT_SYMBOL(csum_partial_copy);
67
68 /* The following are special because they're not called
69    explicitly (the C compiler generates them).  Fortunately,
70    their interface isn't gonna change any time soon now, so
71    it's OK to leave it out of version control.  */
72 EXPORT_SYMBOL(memcpy);
73 EXPORT_SYMBOL(memset);
74 EXPORT_SYMBOL(memcmp);
75 EXPORT_SYMBOL(memscan);
76 EXPORT_SYMBOL(memmove);
77
78 EXPORT_SYMBOL(__outsl_ns);
79 EXPORT_SYMBOL(__insl_ns);
80
81 EXPORT_SYMBOL(get_wchan);
82
83 #ifdef CONFIG_FRV_OUTOFLINE_ATOMIC_OPS
84 EXPORT_SYMBOL(atomic_test_and_ANDNOT_mask);
85 EXPORT_SYMBOL(atomic_test_and_OR_mask);
86 EXPORT_SYMBOL(atomic_test_and_XOR_mask);
87 EXPORT_SYMBOL(atomic_add_return);
88 EXPORT_SYMBOL(atomic_sub_return);
89 EXPORT_SYMBOL(__xchg_32);
90 EXPORT_SYMBOL(__cmpxchg_32);
91 #endif
92
93 EXPORT_SYMBOL(__debug_bug_printk);
94 EXPORT_SYMBOL(__delay_loops_MHz);
95
96 /*
97  * libgcc functions - functions that are used internally by the
98  * compiler...  (prototypes are not correct though, but that
99  * doesn't really matter since they're not versioned).
100  */
101 extern void __gcc_bcmp(void);
102 extern void __ashldi3(void);
103 extern void __ashrdi3(void);
104 extern void __cmpdi2(void);
105 extern void __divdi3(void);
106 extern void __lshrdi3(void);
107 extern void __moddi3(void);
108 extern void __muldi3(void);
109 extern void __mulll(void);
110 extern void __umulll(void);
111 extern void __negdi2(void);
112 extern void __ucmpdi2(void);
113 extern void __udivdi3(void);
114 extern void __udivmoddi4(void);
115 extern void __umoddi3(void);
116
117         /* gcc lib functions */
118 //EXPORT_SYMBOL(__gcc_bcmp);
119 EXPORT_SYMBOL(__ashldi3);
120 EXPORT_SYMBOL(__ashrdi3);
121 //EXPORT_SYMBOL(__cmpdi2);
122 //EXPORT_SYMBOL(__divdi3);
123 EXPORT_SYMBOL(__lshrdi3);
124 //EXPORT_SYMBOL(__moddi3);
125 EXPORT_SYMBOL(__muldi3);
126 EXPORT_SYMBOL(__mulll);
127 EXPORT_SYMBOL(__umulll);
128 EXPORT_SYMBOL(__negdi2);
129 EXPORT_SYMBOL(__ucmpdi2);
130 //EXPORT_SYMBOL(__udivdi3);
131 //EXPORT_SYMBOL(__udivmoddi4);
132 //EXPORT_SYMBOL(__umoddi3);