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/current.h> | |
19 | #include <asm/gpio.h> | |
20 | ||
21 | //asmlinkage long long __ashrdi3 (long long, int); | |
22 | //asmlinkage long long __lshrdi3 (long long, int); | |
23 | extern char h8300_debug_device[]; | |
24 | ||
1da177e4 LT |
25 | /* platform dependent support */ |
26 | ||
1da177e4 LT |
27 | EXPORT_SYMBOL(strnlen); |
28 | EXPORT_SYMBOL(strrchr); | |
29 | EXPORT_SYMBOL(strstr); | |
30 | EXPORT_SYMBOL(strchr); | |
31 | EXPORT_SYMBOL(strcat); | |
32 | EXPORT_SYMBOL(strlen); | |
33 | EXPORT_SYMBOL(strcmp); | |
34 | EXPORT_SYMBOL(strncmp); | |
35 | ||
36 | EXPORT_SYMBOL(ip_fast_csum); | |
37 | ||
38 | EXPORT_SYMBOL(kernel_thread); | |
39 | EXPORT_SYMBOL(enable_irq); | |
40 | EXPORT_SYMBOL(disable_irq); | |
41 | ||
42 | /* Networking helper routines. */ | |
43 | EXPORT_SYMBOL(csum_partial_copy); | |
44 | ||
45 | /* The following are special because they're not called | |
46 | explicitly (the C compiler generates them). Fortunately, | |
47 | their interface isn't gonna change any time soon now, so | |
48 | it's OK to leave it out of version control. */ | |
49 | //EXPORT_SYMBOL(__ashrdi3); | |
50 | //EXPORT_SYMBOL(__lshrdi3); | |
51 | EXPORT_SYMBOL(memcpy); | |
52 | EXPORT_SYMBOL(memset); | |
53 | EXPORT_SYMBOL(memcmp); | |
54 | EXPORT_SYMBOL(memscan); | |
55 | EXPORT_SYMBOL(memmove); | |
56 | ||
57 | EXPORT_SYMBOL(get_wchan); | |
58 | ||
59 | /* | |
60 | * libgcc functions - functions that are used internally by the | |
61 | * compiler... (prototypes are not correct though, but that | |
62 | * doesn't really matter since they're not versioned). | |
63 | */ | |
64 | extern void __gcc_bcmp(void); | |
65 | extern void __ashldi3(void); | |
66 | extern void __ashrdi3(void); | |
67 | extern void __cmpdi2(void); | |
68 | extern void __divdi3(void); | |
69 | extern void __divsi3(void); | |
70 | extern void __lshrdi3(void); | |
71 | extern void __moddi3(void); | |
72 | extern void __modsi3(void); | |
73 | extern void __muldi3(void); | |
74 | extern void __mulsi3(void); | |
75 | extern void __negdi2(void); | |
76 | extern void __ucmpdi2(void); | |
77 | extern void __udivdi3(void); | |
78 | extern void __udivmoddi4(void); | |
79 | extern void __udivsi3(void); | |
80 | extern void __umoddi3(void); | |
81 | extern void __umodsi3(void); | |
82 | ||
83 | /* gcc lib functions */ | |
84 | EXPORT_SYMBOL(__gcc_bcmp); | |
85 | EXPORT_SYMBOL(__ashldi3); | |
86 | EXPORT_SYMBOL(__ashrdi3); | |
87 | EXPORT_SYMBOL(__cmpdi2); | |
88 | EXPORT_SYMBOL(__divdi3); | |
89 | EXPORT_SYMBOL(__divsi3); | |
90 | EXPORT_SYMBOL(__lshrdi3); | |
91 | EXPORT_SYMBOL(__moddi3); | |
92 | EXPORT_SYMBOL(__modsi3); | |
93 | EXPORT_SYMBOL(__muldi3); | |
94 | EXPORT_SYMBOL(__mulsi3); | |
95 | EXPORT_SYMBOL(__negdi2); | |
96 | EXPORT_SYMBOL(__ucmpdi2); | |
97 | EXPORT_SYMBOL(__udivdi3); | |
98 | EXPORT_SYMBOL(__udivmoddi4); | |
99 | EXPORT_SYMBOL(__udivsi3); | |
100 | EXPORT_SYMBOL(__umoddi3); | |
101 | EXPORT_SYMBOL(__umodsi3); | |
102 | ||
1da177e4 LT |
103 | EXPORT_SYMBOL(h8300_reserved_gpio); |
104 | EXPORT_SYMBOL(h8300_free_gpio); | |
105 | EXPORT_SYMBOL(h8300_set_gpio_dir); |