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