blob: 53fad149028277b8d68c554969c679faed524734 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#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>
Linus Torvalds1da177e2005-04-16 15:20:36 -070010
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/semaphore.h>
17#include <asm/checksum.h>
18#include <asm/current.h>
19
Linus Torvalds1da177e2005-04-16 15:20:36 -070020extern int dump_fpu(struct pt_regs *, elf_fpregset_t *);
21
22/* platform dependent support */
23
24EXPORT_SYMBOL(__ioremap);
25EXPORT_SYMBOL(iounmap);
26EXPORT_SYMBOL(dump_fpu);
Linus Torvalds1da177e2005-04-16 15:20:36 -070027
28EXPORT_SYMBOL(ip_fast_csum);
29
Linus Torvalds1da177e2005-04-16 15:20:36 -070030EXPORT_SYMBOL(kernel_thread);
31
32/* Networking helper routines. */
Al Viro59ed05a2006-11-14 21:17:56 -080033EXPORT_SYMBOL(csum_partial_copy_nocheck);
Linus Torvalds1da177e2005-04-16 15:20:36 -070034
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. */
39EXPORT_SYMBOL(memcpy);
40EXPORT_SYMBOL(memset);
Linus Torvalds1da177e2005-04-16 15:20:36 -070041
42EXPORT_SYMBOL(__down_failed);
43EXPORT_SYMBOL(__down_failed_interruptible);
44EXPORT_SYMBOL(__down_failed_trylock);
45EXPORT_SYMBOL(__up_wakeup);
46
Linus Torvalds1da177e2005-04-16 15:20:36 -070047/*
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).
51 */
52extern void __ashldi3(void);
53extern void __ashrdi3(void);
54extern void __divsi3(void);
55extern void __lshrdi3(void);
56extern void __modsi3(void);
57extern void __muldi3(void);
58extern void __mulsi3(void);
59extern void __udivsi3(void);
60extern void __umodsi3(void);
61
62 /* gcc lib functions */
63EXPORT_SYMBOL(__ashldi3);
64EXPORT_SYMBOL(__ashrdi3);
65EXPORT_SYMBOL(__divsi3);
66EXPORT_SYMBOL(__lshrdi3);
67EXPORT_SYMBOL(__modsi3);
68EXPORT_SYMBOL(__muldi3);
69EXPORT_SYMBOL(__mulsi3);
70EXPORT_SYMBOL(__udivsi3);
71EXPORT_SYMBOL(__umodsi3);
72
Linus Torvalds1da177e2005-04-16 15:20:36 -070073#ifdef CONFIG_COLDFIRE
74extern unsigned int *dma_device_address;
75extern unsigned long dma_base_addr, _ramend;
76EXPORT_SYMBOL(dma_base_addr);
77EXPORT_SYMBOL(dma_device_address);
78EXPORT_SYMBOL(_ramend);
79
80extern asmlinkage void trap(void);
81extern void *_ramvec;
82EXPORT_SYMBOL(trap);
83EXPORT_SYMBOL(_ramvec);
84#endif /* CONFIG_COLDFIRE */