e5ec134d81d98baa12ca8c3e6741e75d9e794a95
[linux-2.6.git] / arch / m32r / kernel / m32r_ksyms.c
1 #include <linux/config.h>
2 #include <linux/module.h>
3 #include <linux/smp.h>
4 #include <linux/user.h>
5 #include <linux/elfcore.h>
6 #include <linux/sched.h>
7 #include <linux/in6.h>
8 #include <linux/interrupt.h>
9 #include <linux/smp_lock.h>
10 #include <linux/string.h>
11
12 #include <asm/semaphore.h>
13 #include <asm/processor.h>
14 #include <asm/uaccess.h>
15 #include <asm/checksum.h>
16 #include <asm/io.h>
17 #include <asm/delay.h>
18 #include <asm/irq.h>
19 #include <asm/tlbflush.h>
20
21 extern void dump_thread(struct pt_regs *, struct user *);
22
23 #if defined(CONFIG_BLK_DEV_IDE) || defined(CONFIG_BLK_DEV_HD) || defined(CONFIG_BLK_DEV_IDE_MODULE) || defined(CONFIG_BLK_DEV_HD_MODULE)
24 extern struct drive_info_struct drive_info;
25 EXPORT_SYMBOL(drive_info);
26 #endif
27
28 /* platform dependent support */
29 EXPORT_SYMBOL(boot_cpu_data);
30 EXPORT_SYMBOL(dump_thread);
31 EXPORT_SYMBOL(dump_fpu);
32 EXPORT_SYMBOL(__ioremap);
33 EXPORT_SYMBOL(iounmap);
34 EXPORT_SYMBOL(enable_irq);
35 EXPORT_SYMBOL(disable_irq);
36 EXPORT_SYMBOL(disable_irq_nosync);
37 EXPORT_SYMBOL(kernel_thread);
38 EXPORT_SYMBOL(__down);
39 EXPORT_SYMBOL(__down_interruptible);
40 EXPORT_SYMBOL(__up);
41 EXPORT_SYMBOL(__down_trylock);
42
43 /* Networking helper routines. */
44 /* Delay loops */
45 EXPORT_SYMBOL(__udelay);
46 EXPORT_SYMBOL(__delay);
47 EXPORT_SYMBOL(__const_udelay);
48
49 EXPORT_SYMBOL(__get_user_1);
50 EXPORT_SYMBOL(__get_user_2);
51 EXPORT_SYMBOL(__get_user_4);
52
53 EXPORT_SYMBOL(strpbrk);
54 EXPORT_SYMBOL(strstr);
55
56 EXPORT_SYMBOL(strncpy_from_user);
57 EXPORT_SYMBOL(__strncpy_from_user);
58 EXPORT_SYMBOL(clear_user);
59 EXPORT_SYMBOL(__clear_user);
60 EXPORT_SYMBOL(__generic_copy_from_user);
61 EXPORT_SYMBOL(__generic_copy_to_user);
62 EXPORT_SYMBOL(strnlen_user);
63
64 #ifdef CONFIG_SMP
65 #ifdef CONFIG_CHIP_M32700_TS1
66 extern void *dcache_dummy;
67 EXPORT_SYMBOL(dcache_dummy);
68 #endif
69 EXPORT_SYMBOL(cpu_data);
70 EXPORT_SYMBOL(cpu_online_map);
71 EXPORT_SYMBOL(cpu_callout_map);
72
73 /* Global SMP stuff */
74 EXPORT_SYMBOL(synchronize_irq);
75 EXPORT_SYMBOL(smp_call_function);
76
77 /* TLB flushing */
78 EXPORT_SYMBOL(smp_flush_tlb_page);
79 #endif
80
81 /* compiler generated symbol */
82 extern void __ashldi3(void);
83 extern void __ashrdi3(void);
84 extern void __lshldi3(void);
85 extern void __lshrdi3(void);
86 extern void __muldi3(void);
87 EXPORT_SYMBOL(__ashldi3);
88 EXPORT_SYMBOL(__ashrdi3);
89 EXPORT_SYMBOL(__lshldi3);
90 EXPORT_SYMBOL(__lshrdi3);
91 EXPORT_SYMBOL(__muldi3);
92
93 /* memory and string operations */
94 EXPORT_SYMBOL(memchr);
95 EXPORT_SYMBOL(memcpy);
96 /* EXPORT_SYMBOL(memcpy_fromio); // not implement yet */
97 /* EXPORT_SYMBOL(memcpy_toio); // not implement yet */
98 EXPORT_SYMBOL(memset);
99 /* EXPORT_SYMBOL(memset_io); // not implement yet */
100 EXPORT_SYMBOL(memmove);
101 EXPORT_SYMBOL(memcmp);
102 EXPORT_SYMBOL(memscan);
103 EXPORT_SYMBOL(copy_page);
104 EXPORT_SYMBOL(clear_page);
105
106 EXPORT_SYMBOL(strcat);
107 EXPORT_SYMBOL(strchr);
108 EXPORT_SYMBOL(strcmp);
109 EXPORT_SYMBOL(strcpy);
110 EXPORT_SYMBOL(strlen);
111 EXPORT_SYMBOL(strncat);
112 EXPORT_SYMBOL(strncmp);
113 EXPORT_SYMBOL(strnlen);
114 EXPORT_SYMBOL(strncpy);
115
116 EXPORT_SYMBOL(_inb);
117 EXPORT_SYMBOL(_inw);
118 EXPORT_SYMBOL(_inl);
119 EXPORT_SYMBOL(_outb);
120 EXPORT_SYMBOL(_outw);
121 EXPORT_SYMBOL(_outl);
122 EXPORT_SYMBOL(_inb_p);
123 EXPORT_SYMBOL(_inw_p);
124 EXPORT_SYMBOL(_inl_p);
125 EXPORT_SYMBOL(_outb_p);
126 EXPORT_SYMBOL(_outw_p);
127 EXPORT_SYMBOL(_outl_p);
128 EXPORT_SYMBOL(_insb);
129 EXPORT_SYMBOL(_insw);
130 EXPORT_SYMBOL(_insl);
131 EXPORT_SYMBOL(_outsb);
132 EXPORT_SYMBOL(_outsw);
133 EXPORT_SYMBOL(_outsl);
134 EXPORT_SYMBOL(_readb);
135 EXPORT_SYMBOL(_readw);
136 EXPORT_SYMBOL(_readl);
137 EXPORT_SYMBOL(_writeb);
138 EXPORT_SYMBOL(_writew);
139 EXPORT_SYMBOL(_writel);
140