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>
11 #include <asm/setup.h>
12 #include <asm/machdep.h>
13 #include <asm/pgalloc.h>
16 #include <asm/semaphore.h>
17 #include <asm/checksum.h>
18 #include <asm/current.h>
20 extern int dump_fpu(struct pt_regs *, elf_fpregset_t *);
22 /* platform dependent support */
24 EXPORT_SYMBOL(__ioremap);
25 EXPORT_SYMBOL(iounmap);
26 EXPORT_SYMBOL(dump_fpu);
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);
36 EXPORT_SYMBOL(ip_fast_csum);
38 EXPORT_SYMBOL(kernel_thread);
40 /* Networking helper routines. */
41 EXPORT_SYMBOL(csum_partial_copy_nocheck);
43 /* The following are special because they're not called
44 explicitly (the C compiler generates them). Fortunately,
45 their interface isn't gonna change any time soon now, so
46 it's OK to leave it out of version control. */
47 EXPORT_SYMBOL(memcpy);
48 EXPORT_SYMBOL(memset);
49 EXPORT_SYMBOL(memcmp);
50 EXPORT_SYMBOL(memscan);
51 EXPORT_SYMBOL(memmove);
53 EXPORT_SYMBOL(__down_failed);
54 EXPORT_SYMBOL(__down_failed_interruptible);
55 EXPORT_SYMBOL(__down_failed_trylock);
56 EXPORT_SYMBOL(__up_wakeup);
59 * libgcc functions - functions that are used internally by the
60 * compiler... (prototypes are not correct though, but that
61 * doesn't really matter since they're not versioned).
63 extern void __ashldi3(void);
64 extern void __ashrdi3(void);
65 extern void __divsi3(void);
66 extern void __lshrdi3(void);
67 extern void __modsi3(void);
68 extern void __muldi3(void);
69 extern void __mulsi3(void);
70 extern void __udivsi3(void);
71 extern void __umodsi3(void);
73 /* gcc lib functions */
74 EXPORT_SYMBOL(__ashldi3);
75 EXPORT_SYMBOL(__ashrdi3);
76 EXPORT_SYMBOL(__divsi3);
77 EXPORT_SYMBOL(__lshrdi3);
78 EXPORT_SYMBOL(__modsi3);
79 EXPORT_SYMBOL(__muldi3);
80 EXPORT_SYMBOL(__mulsi3);
81 EXPORT_SYMBOL(__udivsi3);
82 EXPORT_SYMBOL(__umodsi3);
84 EXPORT_SYMBOL(is_in_rom);
86 #ifdef CONFIG_COLDFIRE
87 extern unsigned int *dma_device_address;
88 extern unsigned long dma_base_addr, _ramend;
89 EXPORT_SYMBOL(dma_base_addr);
90 EXPORT_SYMBOL(dma_device_address);
91 EXPORT_SYMBOL(_ramend);
93 extern asmlinkage void trap(void);
96 EXPORT_SYMBOL(_ramvec);
97 #endif /* CONFIG_COLDFIRE */