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 11 #include <asm/setup.h> 12 #include <asm/machdep.h> 13 #include <asm/pgalloc.h> 14 #include <asm/irq.h> 15 #include <asm/io.h> 16 #include <asm/checksum.h> 17 #include <asm/current.h> 18 19 extern int dump_fpu(struct pt_regs *, elf_fpregset_t *); 20 21 /* platform dependent support */ 22 23 EXPORT_SYMBOL(__ioremap); 24 EXPORT_SYMBOL(iounmap); 25 EXPORT_SYMBOL(dump_fpu); 26 27 EXPORT_SYMBOL(ip_fast_csum); 28 29 EXPORT_SYMBOL(kernel_thread); 30 31 /* Networking helper routines. */ 32 EXPORT_SYMBOL(csum_partial_copy_nocheck); 33 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); 40 41 /* 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). 45 */ 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); 55 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); 66 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); 73 74 extern asmlinkage void trap(void); 75 extern void *_ramvec; 76 EXPORT_SYMBOL(trap); 77 EXPORT_SYMBOL(_ramvec); 78 #endif /* CONFIG_COLDFIRE */ 79