blob: eddb8d3e130ab116e7957349e2a17beb0566646b [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>
10#include <linux/config.h>
11
12#include <asm/setup.h>
13#include <asm/machdep.h>
14#include <asm/pgalloc.h>
15#include <asm/irq.h>
16#include <asm/io.h>
17#include <asm/semaphore.h>
18#include <asm/checksum.h>
19#include <asm/current.h>
20
Linus Torvalds1da177e2005-04-16 15:20:36 -070021extern int dump_fpu(struct pt_regs *, elf_fpregset_t *);
22
23/* platform dependent support */
24
25EXPORT_SYMBOL(__ioremap);
26EXPORT_SYMBOL(iounmap);
27EXPORT_SYMBOL(dump_fpu);
Linus Torvalds1da177e2005-04-16 15:20:36 -070028EXPORT_SYMBOL(strnlen);
29EXPORT_SYMBOL(strrchr);
30EXPORT_SYMBOL(strstr);
31EXPORT_SYMBOL(strchr);
32EXPORT_SYMBOL(strcat);
33EXPORT_SYMBOL(strlen);
34EXPORT_SYMBOL(strcmp);
35EXPORT_SYMBOL(strncmp);
36
37EXPORT_SYMBOL(ip_fast_csum);
38
Linus Torvalds1da177e2005-04-16 15:20:36 -070039EXPORT_SYMBOL(kernel_thread);
40
41/* Networking helper routines. */
42EXPORT_SYMBOL(csum_partial_copy);
43
44/* The following are special because they're not called
45 explicitly (the C compiler generates them). Fortunately,
46 their interface isn't gonna change any time soon now, so
47 it's OK to leave it out of version control. */
48EXPORT_SYMBOL(memcpy);
49EXPORT_SYMBOL(memset);
50EXPORT_SYMBOL(memcmp);
51EXPORT_SYMBOL(memscan);
52EXPORT_SYMBOL(memmove);
53
54EXPORT_SYMBOL(__down_failed);
55EXPORT_SYMBOL(__down_failed_interruptible);
56EXPORT_SYMBOL(__down_failed_trylock);
57EXPORT_SYMBOL(__up_wakeup);
58
59EXPORT_SYMBOL(get_wchan);
60
61/*
62 * libgcc functions - functions that are used internally by the
63 * compiler... (prototypes are not correct though, but that
64 * doesn't really matter since they're not versioned).
65 */
66extern void __ashldi3(void);
67extern void __ashrdi3(void);
68extern void __divsi3(void);
69extern void __lshrdi3(void);
70extern void __modsi3(void);
71extern void __muldi3(void);
72extern void __mulsi3(void);
73extern void __udivsi3(void);
74extern void __umodsi3(void);
75
76 /* gcc lib functions */
77EXPORT_SYMBOL(__ashldi3);
78EXPORT_SYMBOL(__ashrdi3);
79EXPORT_SYMBOL(__divsi3);
80EXPORT_SYMBOL(__lshrdi3);
81EXPORT_SYMBOL(__modsi3);
82EXPORT_SYMBOL(__muldi3);
83EXPORT_SYMBOL(__mulsi3);
84EXPORT_SYMBOL(__udivsi3);
85EXPORT_SYMBOL(__umodsi3);
86
87EXPORT_SYMBOL(is_in_rom);
88
89#ifdef CONFIG_COLDFIRE
90extern unsigned int *dma_device_address;
91extern unsigned long dma_base_addr, _ramend;
92EXPORT_SYMBOL(dma_base_addr);
93EXPORT_SYMBOL(dma_device_address);
94EXPORT_SYMBOL(_ramend);
95
96extern asmlinkage void trap(void);
97extern void *_ramvec;
98EXPORT_SYMBOL(trap);
99EXPORT_SYMBOL(_ramvec);
100#endif /* CONFIG_COLDFIRE */