Merge master.kernel.org:/home/rmk/linux-2.6-arm
[linux-2.6] / arch / m68knommu / kernel / m68k_ksyms.c
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 #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
21 extern int dump_fpu(struct pt_regs *, elf_fpregset_t *);
22
23 /* platform dependent support */
24
25 EXPORT_SYMBOL(__ioremap);
26 EXPORT_SYMBOL(iounmap);
27 EXPORT_SYMBOL(dump_fpu);
28 EXPORT_SYMBOL(strnlen);
29 EXPORT_SYMBOL(strrchr);
30 EXPORT_SYMBOL(strstr);
31 EXPORT_SYMBOL(strchr);
32 EXPORT_SYMBOL(strcat);
33 EXPORT_SYMBOL(strlen);
34 EXPORT_SYMBOL(strcmp);
35 EXPORT_SYMBOL(strncmp);
36
37 EXPORT_SYMBOL(ip_fast_csum);
38
39 EXPORT_SYMBOL(kernel_thread);
40
41 /* Networking helper routines. */
42 EXPORT_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.  */
48 EXPORT_SYMBOL(memcpy);
49 EXPORT_SYMBOL(memset);
50 EXPORT_SYMBOL(memcmp);
51 EXPORT_SYMBOL(memscan);
52 EXPORT_SYMBOL(memmove);
53
54 EXPORT_SYMBOL(__down_failed);
55 EXPORT_SYMBOL(__down_failed_interruptible);
56 EXPORT_SYMBOL(__down_failed_trylock);
57 EXPORT_SYMBOL(__up_wakeup);
58
59 /*
60  * libgcc functions - functions that are used internally by the
61  * compiler...  (prototypes are not correct though, but that
62  * doesn't really matter since they're not versioned).
63  */
64 extern void __ashldi3(void);
65 extern void __ashrdi3(void);
66 extern void __divsi3(void);
67 extern void __lshrdi3(void);
68 extern void __modsi3(void);
69 extern void __muldi3(void);
70 extern void __mulsi3(void);
71 extern void __udivsi3(void);
72 extern void __umodsi3(void);
73
74         /* gcc lib functions */
75 EXPORT_SYMBOL(__ashldi3);
76 EXPORT_SYMBOL(__ashrdi3);
77 EXPORT_SYMBOL(__divsi3);
78 EXPORT_SYMBOL(__lshrdi3);
79 EXPORT_SYMBOL(__modsi3);
80 EXPORT_SYMBOL(__muldi3);
81 EXPORT_SYMBOL(__mulsi3);
82 EXPORT_SYMBOL(__udivsi3);
83 EXPORT_SYMBOL(__umodsi3);
84
85 EXPORT_SYMBOL(is_in_rom);
86
87 #ifdef CONFIG_COLDFIRE
88 extern unsigned int *dma_device_address;
89 extern unsigned long dma_base_addr, _ramend;
90 EXPORT_SYMBOL(dma_base_addr);
91 EXPORT_SYMBOL(dma_device_address);
92 EXPORT_SYMBOL(_ramend);
93
94 extern asmlinkage void trap(void);
95 extern void     *_ramvec;
96 EXPORT_SYMBOL(trap);
97 EXPORT_SYMBOL(_ramvec);
98 #endif /* CONFIG_COLDFIRE */