Merge branch 'upstream'
[linux-2.6] / arch / m68k / 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
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[];
25
26 /* platform dependent support */
27
28 EXPORT_SYMBOL(m68k_machtype);
29 EXPORT_SYMBOL(m68k_cputype);
30 EXPORT_SYMBOL(m68k_is040or060);
31 EXPORT_SYMBOL(m68k_realnum_memory);
32 EXPORT_SYMBOL(m68k_memory);
33 #ifndef CONFIG_SUN3
34 EXPORT_SYMBOL(cache_push);
35 EXPORT_SYMBOL(cache_clear);
36 #ifndef CONFIG_SINGLE_MEMORY_CHUNK
37 EXPORT_SYMBOL(mm_vtop);
38 EXPORT_SYMBOL(mm_ptov);
39 EXPORT_SYMBOL(mm_end_of_chunk);
40 #else
41 EXPORT_SYMBOL(m68k_memoffset);
42 #endif /* !CONFIG_SINGLE_MEMORY_CHUNK */
43 EXPORT_SYMBOL(__ioremap);
44 EXPORT_SYMBOL(iounmap);
45 EXPORT_SYMBOL(kernel_set_cachemode);
46 #endif /* !CONFIG_SUN3 */
47 EXPORT_SYMBOL(m68k_debug_device);
48 EXPORT_SYMBOL(mach_hwclk);
49 EXPORT_SYMBOL(mach_get_ss);
50 EXPORT_SYMBOL(mach_get_rtc_pll);
51 EXPORT_SYMBOL(mach_set_rtc_pll);
52 #ifdef CONFIG_INPUT_M68K_BEEP_MODULE
53 EXPORT_SYMBOL(mach_beep);
54 #endif
55 EXPORT_SYMBOL(dump_fpu);
56 EXPORT_SYMBOL(dump_thread);
57 EXPORT_SYMBOL(strnlen);
58 EXPORT_SYMBOL(strrchr);
59 EXPORT_SYMBOL(strstr);
60 EXPORT_SYMBOL(strpbrk);
61 EXPORT_SYMBOL(enable_irq);
62 EXPORT_SYMBOL(disable_irq);
63 EXPORT_SYMBOL(kernel_thread);
64 #ifdef CONFIG_VME
65 EXPORT_SYMBOL(vme_brdtype);
66 #endif
67
68 /* The following are special because they're not called
69    explicitly (the C compiler generates them).  Fortunately,
70    their interface isn't gonna change any time soon now, so
71    it's OK to leave it out of version control.  */
72 EXPORT_SYMBOL(__ashldi3);
73 EXPORT_SYMBOL(__ashrdi3);
74 EXPORT_SYMBOL(__lshrdi3);
75 EXPORT_SYMBOL(__muldi3);
76
77 EXPORT_SYMBOL(__down_failed);
78 EXPORT_SYMBOL(__down_failed_interruptible);
79 EXPORT_SYMBOL(__down_failed_trylock);
80 EXPORT_SYMBOL(__up_wakeup);
81