1 #include <linux/module.h>
2 #include <linux/linkage.h>
3 #include <linux/sched.h>
4 #include <linux/string.h>
6 #include <linux/user.h>
7 #include <linux/elfcore.h>
9 #include <linux/interrupt.h>
10 #include <linux/config.h>
12 #include <asm/setup.h>
13 #include <asm/machdep.h>
14 #include <asm/pgalloc.h>
17 #include <asm/semaphore.h>
18 #include <asm/checksum.h>
20 asmlinkage long long __ashldi3 (long long, int);
21 asmlinkage long long __ashrdi3 (long long, int);
22 asmlinkage long long __lshrdi3 (long long, int);
23 asmlinkage long long __muldi3 (long long, long long);
24 extern char m68k_debug_device[];
26 extern void dump_thread(struct pt_regs *, struct user *);
28 /* platform dependent support */
30 EXPORT_SYMBOL(m68k_machtype);
31 EXPORT_SYMBOL(m68k_cputype);
32 EXPORT_SYMBOL(m68k_is040or060);
33 EXPORT_SYMBOL(m68k_realnum_memory);
34 EXPORT_SYMBOL(m68k_memory);
36 EXPORT_SYMBOL(cache_push);
37 EXPORT_SYMBOL(cache_clear);
38 #ifndef CONFIG_SINGLE_MEMORY_CHUNK
39 EXPORT_SYMBOL(mm_vtop);
40 EXPORT_SYMBOL(mm_ptov);
41 EXPORT_SYMBOL(mm_end_of_chunk);
43 EXPORT_SYMBOL(m68k_memoffset);
44 #endif /* !CONFIG_SINGLE_MEMORY_CHUNK */
45 EXPORT_SYMBOL(__ioremap);
46 EXPORT_SYMBOL(iounmap);
47 EXPORT_SYMBOL(kernel_set_cachemode);
48 #endif /* !CONFIG_SUN3 */
49 EXPORT_SYMBOL(m68k_debug_device);
50 EXPORT_SYMBOL(mach_hwclk);
51 EXPORT_SYMBOL(mach_get_ss);
52 EXPORT_SYMBOL(mach_get_rtc_pll);
53 EXPORT_SYMBOL(mach_set_rtc_pll);
54 #ifdef CONFIG_INPUT_M68K_BEEP_MODULE
55 EXPORT_SYMBOL(mach_beep);
57 EXPORT_SYMBOL(dump_fpu);
58 EXPORT_SYMBOL(dump_thread);
59 EXPORT_SYMBOL(strnlen);
60 EXPORT_SYMBOL(strrchr);
61 EXPORT_SYMBOL(strstr);
62 EXPORT_SYMBOL(strpbrk);
63 EXPORT_SYMBOL(enable_irq);
64 EXPORT_SYMBOL(disable_irq);
65 EXPORT_SYMBOL(kernel_thread);
67 EXPORT_SYMBOL(vme_brdtype);
70 /* The following are special because they're not called
71 explicitly (the C compiler generates them). Fortunately,
72 their interface isn't gonna change any time soon now, so
73 it's OK to leave it out of version control. */
74 EXPORT_SYMBOL(__ashldi3);
75 EXPORT_SYMBOL(__ashrdi3);
76 EXPORT_SYMBOL(__lshrdi3);
77 EXPORT_SYMBOL(__muldi3);
79 EXPORT_SYMBOL(__down_failed);
80 EXPORT_SYMBOL(__down_failed_interruptible);
81 EXPORT_SYMBOL(__down_failed_trylock);
82 EXPORT_SYMBOL(__up_wakeup);
84 EXPORT_SYMBOL(get_wchan);