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