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/pgtable.h>
16 #include <asm/irq.h>
17 #include <asm/io.h>
18 #include <asm/semaphore.h>
19 #include <asm/checksum.h>
20 #include <asm/hardirq.h>
21 #include <asm/softirq.h>
22 #include <asm/rtc.h>
23 #include <asm/hwtest.h>
24 
25 asmlinkage long long __ashldi3 (long long, int);
26 asmlinkage long long __ashrdi3 (long long, int);
27 asmlinkage long long __lshrdi3 (long long, int);
28 asmlinkage long long __muldi3 (long long, long long);
29 extern char m68k_debug_device[];
30 
31 extern void dump_thread(struct pt_regs *, struct user *);
32 extern int dump_fpu (struct pt_regs *regs, struct user_m68kfp_struct *fpu);
33 
34 /* platform dependent support */
35 
36 EXPORT_SYMBOL(m68k_machtype);
37 EXPORT_SYMBOL(m68k_cputype);
38 EXPORT_SYMBOL(m68k_is040or060);
39 EXPORT_SYMBOL(m68k_realnum_memory);
40 EXPORT_SYMBOL(m68k_memory);
41 #ifndef CONFIG_SUN3
42 EXPORT_SYMBOL(cache_push);
43 EXPORT_SYMBOL(cache_clear);
44 #ifndef CONFIG_SINGLE_MEMORY_CHUNK
45 EXPORT_SYMBOL(mm_vtop);
46 EXPORT_SYMBOL(mm_ptov);
47 EXPORT_SYMBOL(mm_end_of_chunk);
48 #endif /* !CONFIG_SINGLE_MEMORY_CHUNK */
49 EXPORT_SYMBOL(__ioremap);
50 EXPORT_SYMBOL(iounmap);
51 EXPORT_SYMBOL(kernel_set_cachemode);
52 #ifndef mm_cachebits
53 EXPORT_SYMBOL(mm_cachebits);
54 #endif
55 #endif /* !CONFIG_SUN3 */
56 EXPORT_SYMBOL(m68k_debug_device);
57 EXPORT_SYMBOL(mach_hwclk);
58 EXPORT_SYMBOL(mach_get_ss);
59 EXPORT_SYMBOL(mach_get_rtc_pll);
60 EXPORT_SYMBOL(mach_set_rtc_pll);
61 EXPORT_SYMBOL(dump_fpu);
62 EXPORT_SYMBOL(dump_thread);
63 EXPORT_SYMBOL(strnlen);
64 EXPORT_SYMBOL(strrchr);
65 EXPORT_SYMBOL(strstr);
66 EXPORT_SYMBOL(strtok);
67 EXPORT_SYMBOL(enable_irq);
68 EXPORT_SYMBOL(disable_irq);
69 EXPORT_SYMBOL(kernel_thread);
70 #ifdef CONFIG_VME
71 EXPORT_SYMBOL(vme_brdtype);
72 #endif
73 EXPORT_SYMBOL(hwreg_present);
74 EXPORT_SYMBOL(hwreg_write);
75 
76 /* Networking helper routines. */
77 EXPORT_SYMBOL(csum_partial_copy);
78 
79 /* The following are special because they're not called
80    explicitly (the C compiler generates them).  Fortunately,
81    their interface isn't gonna change any time soon now, so
82    it's OK to leave it out of version control.  */
83 EXPORT_SYMBOL_NOVERS(__ashldi3);
84 EXPORT_SYMBOL_NOVERS(__ashrdi3);
85 EXPORT_SYMBOL_NOVERS(__lshrdi3);
86 EXPORT_SYMBOL_NOVERS(memcpy);
87 EXPORT_SYMBOL_NOVERS(memset);
88 EXPORT_SYMBOL_NOVERS(memcmp);
89 EXPORT_SYMBOL_NOVERS(memscan);
90 EXPORT_SYMBOL_NOVERS(__muldi3);
91 
92 EXPORT_SYMBOL_NOVERS(__down_failed);
93 EXPORT_SYMBOL_NOVERS(__down_failed_interruptible);
94 EXPORT_SYMBOL_NOVERS(__down_failed_trylock);
95 EXPORT_SYMBOL_NOVERS(__up_wakeup);
96 
97 EXPORT_SYMBOL(get_wchan);
98