Pull motherboard into release branch
[linux-2.6] / 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 #ifdef CONFIG_FRV_OUTOFLINE_ATOMIC_OPS
82 EXPORT_SYMBOL(atomic_test_and_ANDNOT_mask);
83 EXPORT_SYMBOL(atomic_test_and_OR_mask);
84 EXPORT_SYMBOL(atomic_test_and_XOR_mask);
85 EXPORT_SYMBOL(atomic_add_return);
86 EXPORT_SYMBOL(atomic_sub_return);
87 EXPORT_SYMBOL(__xchg_32);
88 EXPORT_SYMBOL(__cmpxchg_32);
89 #endif
90
91 EXPORT_SYMBOL(__debug_bug_printk);
92 EXPORT_SYMBOL(__delay_loops_MHz);
93
94 /*
95  * libgcc functions - functions that are used internally by the
96  * compiler...  (prototypes are not correct though, but that
97  * doesn't really matter since they're not versioned).
98  */
99 extern void __gcc_bcmp(void);
100 extern void __ashldi3(void);
101 extern void __ashrdi3(void);
102 extern void __cmpdi2(void);
103 extern void __divdi3(void);
104 extern void __lshrdi3(void);
105 extern void __moddi3(void);
106 extern void __muldi3(void);
107 extern void __mulll(void);
108 extern void __umulll(void);
109 extern void __negdi2(void);
110 extern void __ucmpdi2(void);
111 extern void __udivdi3(void);
112 extern void __udivmoddi4(void);
113 extern void __umoddi3(void);
114
115         /* gcc lib functions */
116 //EXPORT_SYMBOL(__gcc_bcmp);
117 EXPORT_SYMBOL(__ashldi3);
118 EXPORT_SYMBOL(__ashrdi3);
119 //EXPORT_SYMBOL(__cmpdi2);
120 //EXPORT_SYMBOL(__divdi3);
121 EXPORT_SYMBOL(__lshrdi3);
122 //EXPORT_SYMBOL(__moddi3);
123 EXPORT_SYMBOL(__muldi3);
124 EXPORT_SYMBOL(__mulll);
125 EXPORT_SYMBOL(__umulll);
126 EXPORT_SYMBOL(__negdi2);
127 EXPORT_SYMBOL(__ucmpdi2);
128 //EXPORT_SYMBOL(__udivdi3);
129 //EXPORT_SYMBOL(__udivmoddi4);
130 //EXPORT_SYMBOL(__umoddi3);