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> | |
1da177e4 LT |
10 | |
11 | #include <asm/setup.h> | |
12 | #include <asm/pgalloc.h> | |
13 | #include <asm/irq.h> | |
14 | #include <asm/io.h> | |
1da177e4 LT |
15 | #include <asm/checksum.h> |
16 | #include <asm/hardirq.h> | |
40234401 | 17 | #include <asm/cacheflush.h> |
1da177e4 | 18 | |
1da177e4 | 19 | extern long __memcpy_user(void *dst, const void *src, size_t count); |
40234401 | 20 | extern long __memset_user(void *dst, const void *src, size_t count); |
1da177e4 LT |
21 | |
22 | /* platform dependent support */ | |
23 | ||
24 | EXPORT_SYMBOL(__ioremap); | |
25 | EXPORT_SYMBOL(iounmap); | |
26 | ||
1da177e4 LT |
27 | EXPORT_SYMBOL(ip_fast_csum); |
28 | ||
29 | #if 0 | |
30 | EXPORT_SYMBOL(local_irq_count); | |
31 | EXPORT_SYMBOL(local_bh_count); | |
32 | #endif | |
1da177e4 | 33 | |
1da177e4 LT |
34 | EXPORT_SYMBOL(__res_bus_clock_speed_HZ); |
35 | EXPORT_SYMBOL(__page_offset); | |
36 | EXPORT_SYMBOL(__memcpy_user); | |
40234401 DH |
37 | EXPORT_SYMBOL(__memset_user); |
38 | EXPORT_SYMBOL(frv_dcache_writeback); | |
39 | EXPORT_SYMBOL(frv_cache_invalidate); | |
40 | EXPORT_SYMBOL(frv_icache_invalidate); | |
41 | EXPORT_SYMBOL(frv_cache_wback_inv); | |
1da177e4 LT |
42 | |
43 | #ifndef CONFIG_MMU | |
44 | EXPORT_SYMBOL(memory_start); | |
45 | EXPORT_SYMBOL(memory_end); | |
46 | #endif | |
47 | ||
48 | EXPORT_SYMBOL(__debug_bug_trap); | |
49 | ||
1da177e4 LT |
50 | /* The following are special because they're not called |
51 | explicitly (the C compiler generates them). Fortunately, | |
52 | their interface isn't gonna change any time soon now, so | |
53 | it's OK to leave it out of version control. */ | |
54 | EXPORT_SYMBOL(memcpy); | |
55 | EXPORT_SYMBOL(memset); | |
1da177e4 | 56 | |
40234401 DH |
57 | EXPORT_SYMBOL(__outsl_ns); |
58 | EXPORT_SYMBOL(__insl_ns); | |
59 | ||
1da177e4 | 60 | #ifdef CONFIG_FRV_OUTOFLINE_ATOMIC_OPS |
1da177e4 | 61 | EXPORT_SYMBOL(__xchg_32); |
1da177e4 LT |
62 | EXPORT_SYMBOL(__cmpxchg_32); |
63 | #endif | |
00460f41 DH |
64 | EXPORT_SYMBOL(atomic64_add_return); |
65 | EXPORT_SYMBOL(atomic64_sub_return); | |
66 | EXPORT_SYMBOL(__xchg_64); | |
67 | EXPORT_SYMBOL(__cmpxchg_64); | |
1da177e4 | 68 | |
40234401 DH |
69 | EXPORT_SYMBOL(__debug_bug_printk); |
70 | EXPORT_SYMBOL(__delay_loops_MHz); | |
71 | ||
1da177e4 LT |
72 | /* |
73 | * libgcc functions - functions that are used internally by the | |
74 | * compiler... (prototypes are not correct though, but that | |
75 | * doesn't really matter since they're not versioned). | |
76 | */ | |
77 | extern void __gcc_bcmp(void); | |
78 | extern void __ashldi3(void); | |
79 | extern void __ashrdi3(void); | |
80 | extern void __cmpdi2(void); | |
81 | extern void __divdi3(void); | |
82 | extern void __lshrdi3(void); | |
83 | extern void __moddi3(void); | |
84 | extern void __muldi3(void); | |
40234401 DH |
85 | extern void __mulll(void); |
86 | extern void __umulll(void); | |
1da177e4 LT |
87 | extern void __negdi2(void); |
88 | extern void __ucmpdi2(void); | |
89 | extern void __udivdi3(void); | |
90 | extern void __udivmoddi4(void); | |
91 | extern void __umoddi3(void); | |
92 | ||
93 | /* gcc lib functions */ | |
94 | //EXPORT_SYMBOL(__gcc_bcmp); | |
95 | EXPORT_SYMBOL(__ashldi3); | |
96 | EXPORT_SYMBOL(__ashrdi3); | |
97 | //EXPORT_SYMBOL(__cmpdi2); | |
98 | //EXPORT_SYMBOL(__divdi3); | |
99 | EXPORT_SYMBOL(__lshrdi3); | |
100 | //EXPORT_SYMBOL(__moddi3); | |
101 | EXPORT_SYMBOL(__muldi3); | |
40234401 DH |
102 | EXPORT_SYMBOL(__mulll); |
103 | EXPORT_SYMBOL(__umulll); | |
1da177e4 | 104 | EXPORT_SYMBOL(__negdi2); |
40234401 | 105 | EXPORT_SYMBOL(__ucmpdi2); |
1da177e4 LT |
106 | //EXPORT_SYMBOL(__udivdi3); |
107 | //EXPORT_SYMBOL(__udivmoddi4); | |
108 | //EXPORT_SYMBOL(__umoddi3); |