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
);
28 EXPORT_SYMBOL(ip_fast_csum
);
30 EXPORT_SYMBOL(kernel_thread
);
32 /* Networking helper routines. */
33 EXPORT_SYMBOL(csum_partial_copy_nocheck
);
35 /* The following are special because they're not called
36 explicitly (the C compiler generates them). Fortunately,
37 their interface isn't gonna change any time soon now, so
38 it's OK to leave it out of version control. */
39 EXPORT_SYMBOL(memcpy
);
40 EXPORT_SYMBOL(memset
);
42 EXPORT_SYMBOL(__down_failed
);
43 EXPORT_SYMBOL(__down_failed_interruptible
);
44 EXPORT_SYMBOL(__down_failed_trylock
);
45 EXPORT_SYMBOL(__up_wakeup
);
48 * libgcc functions - functions that are used internally by the
49 * compiler... (prototypes are not correct though, but that
50 * doesn't really matter since they're not versioned).
52 extern void __ashldi3(void);
53 extern void __ashrdi3(void);
54 extern void __divsi3(void);
55 extern void __lshrdi3(void);
56 extern void __modsi3(void);
57 extern void __muldi3(void);
58 extern void __mulsi3(void);
59 extern void __udivsi3(void);
60 extern void __umodsi3(void);
62 /* gcc lib functions */
63 EXPORT_SYMBOL(__ashldi3
);
64 EXPORT_SYMBOL(__ashrdi3
);
65 EXPORT_SYMBOL(__divsi3
);
66 EXPORT_SYMBOL(__lshrdi3
);
67 EXPORT_SYMBOL(__modsi3
);
68 EXPORT_SYMBOL(__muldi3
);
69 EXPORT_SYMBOL(__mulsi3
);
70 EXPORT_SYMBOL(__udivsi3
);
71 EXPORT_SYMBOL(__umodsi3
);
73 #ifdef CONFIG_COLDFIRE
74 extern unsigned int *dma_device_address
;
75 extern unsigned long dma_base_addr
, _ramend
;
76 EXPORT_SYMBOL(dma_base_addr
);
77 EXPORT_SYMBOL(dma_device_address
);
78 EXPORT_SYMBOL(_ramend
);
80 extern asmlinkage
void trap(void);
83 EXPORT_SYMBOL(_ramvec
);
84 #endif /* CONFIG_COLDFIRE */