1 #include <linux/module.h>
2 #include <linux/linkage.h>
3 #include <linux/sched.h>
4 #include <linux/string.h>
6 #include <linux/user.h>
7 #include <linux/elfcore.h>
9 #include <linux/interrupt.h>
10 #include <linux/config.h>
12 #include <asm/setup.h>
13 #include <asm/machdep.h>
14 #include <asm/pgalloc.h>
17 #include <asm/semaphore.h>
18 #include <asm/checksum.h>
19 #include <asm/current.h>
21 extern int dump_fpu(struct pt_regs *, elf_fpregset_t *);
23 /* platform dependent support */
25 EXPORT_SYMBOL(__ioremap);
26 EXPORT_SYMBOL(iounmap);
27 EXPORT_SYMBOL(dump_fpu);
28 EXPORT_SYMBOL(strnlen);
29 EXPORT_SYMBOL(strrchr);
30 EXPORT_SYMBOL(strstr);
31 EXPORT_SYMBOL(strchr);
32 EXPORT_SYMBOL(strcat);
33 EXPORT_SYMBOL(strlen);
34 EXPORT_SYMBOL(strcmp);
35 EXPORT_SYMBOL(strncmp);
37 EXPORT_SYMBOL(ip_fast_csum);
39 EXPORT_SYMBOL(kernel_thread);
41 /* Networking helper routines. */
42 EXPORT_SYMBOL(csum_partial_copy);
44 /* The following are special because they're not called
45 explicitly (the C compiler generates them). Fortunately,
46 their interface isn't gonna change any time soon now, so
47 it's OK to leave it out of version control. */
48 EXPORT_SYMBOL(memcpy);
49 EXPORT_SYMBOL(memset);
50 EXPORT_SYMBOL(memcmp);
51 EXPORT_SYMBOL(memscan);
52 EXPORT_SYMBOL(memmove);
54 EXPORT_SYMBOL(__down_failed);
55 EXPORT_SYMBOL(__down_failed_interruptible);
56 EXPORT_SYMBOL(__down_failed_trylock);
57 EXPORT_SYMBOL(__up_wakeup);
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).
64 extern void __ashldi3(void);
65 extern void __ashrdi3(void);
66 extern void __divsi3(void);
67 extern void __lshrdi3(void);
68 extern void __modsi3(void);
69 extern void __muldi3(void);
70 extern void __mulsi3(void);
71 extern void __udivsi3(void);
72 extern void __umodsi3(void);
74 /* gcc lib functions */
75 EXPORT_SYMBOL(__ashldi3);
76 EXPORT_SYMBOL(__ashrdi3);
77 EXPORT_SYMBOL(__divsi3);
78 EXPORT_SYMBOL(__lshrdi3);
79 EXPORT_SYMBOL(__modsi3);
80 EXPORT_SYMBOL(__muldi3);
81 EXPORT_SYMBOL(__mulsi3);
82 EXPORT_SYMBOL(__udivsi3);
83 EXPORT_SYMBOL(__umodsi3);
85 EXPORT_SYMBOL(is_in_rom);
87 #ifdef CONFIG_COLDFIRE
88 extern unsigned int *dma_device_address;
89 extern unsigned long dma_base_addr, _ramend;
90 EXPORT_SYMBOL(dma_base_addr);
91 EXPORT_SYMBOL(dma_device_address);
92 EXPORT_SYMBOL(_ramend);
94 extern asmlinkage void trap(void);
97 EXPORT_SYMBOL(_ramvec);
98 #endif /* CONFIG_COLDFIRE */