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/checksum.h>
17 #include <asm/current.h>
19 extern int dump_fpu(struct pt_regs
*, elf_fpregset_t
*);
21 /* platform dependent support */
23 EXPORT_SYMBOL(__ioremap
);
24 EXPORT_SYMBOL(iounmap
);
25 EXPORT_SYMBOL(dump_fpu
);
27 EXPORT_SYMBOL(ip_fast_csum
);
29 EXPORT_SYMBOL(kernel_thread
);
31 /* Networking helper routines. */
32 EXPORT_SYMBOL(csum_partial_copy_nocheck
);
34 /* The following are special because they're not called
35 explicitly (the C compiler generates them). Fortunately,
36 their interface isn't gonna change any time soon now, so
37 it's OK to leave it out of version control. */
38 EXPORT_SYMBOL(memcpy
);
39 EXPORT_SYMBOL(memset
);
42 * libgcc functions - functions that are used internally by the
43 * compiler... (prototypes are not correct though, but that
44 * doesn't really matter since they're not versioned).
46 extern void __ashldi3(void);
47 extern void __ashrdi3(void);
48 extern void __divsi3(void);
49 extern void __lshrdi3(void);
50 extern void __modsi3(void);
51 extern void __muldi3(void);
52 extern void __mulsi3(void);
53 extern void __udivsi3(void);
54 extern void __umodsi3(void);
56 /* gcc lib functions */
57 EXPORT_SYMBOL(__ashldi3
);
58 EXPORT_SYMBOL(__ashrdi3
);
59 EXPORT_SYMBOL(__divsi3
);
60 EXPORT_SYMBOL(__lshrdi3
);
61 EXPORT_SYMBOL(__modsi3
);
62 EXPORT_SYMBOL(__muldi3
);
63 EXPORT_SYMBOL(__mulsi3
);
64 EXPORT_SYMBOL(__udivsi3
);
65 EXPORT_SYMBOL(__umodsi3
);
67 #ifdef CONFIG_COLDFIRE
68 extern unsigned int *dma_device_address
;
69 extern unsigned long dma_base_addr
, _ramend
;
70 EXPORT_SYMBOL(dma_base_addr
);
71 EXPORT_SYMBOL(dma_device_address
);
72 EXPORT_SYMBOL(_ramend
);
74 extern asmlinkage
void trap(void);
77 EXPORT_SYMBOL(_ramvec
);
78 #endif /* CONFIG_COLDFIRE */