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