blob: e5ec134d81d98baa12ca8c3e6741e75d9e794a95 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#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
21extern 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)
24extern struct drive_info_struct drive_info;
25EXPORT_SYMBOL(drive_info);
26#endif
27
28/* platform dependent support */
29EXPORT_SYMBOL(boot_cpu_data);
30EXPORT_SYMBOL(dump_thread);
31EXPORT_SYMBOL(dump_fpu);
32EXPORT_SYMBOL(__ioremap);
33EXPORT_SYMBOL(iounmap);
34EXPORT_SYMBOL(enable_irq);
35EXPORT_SYMBOL(disable_irq);
36EXPORT_SYMBOL(disable_irq_nosync);
37EXPORT_SYMBOL(kernel_thread);
38EXPORT_SYMBOL(__down);
39EXPORT_SYMBOL(__down_interruptible);
40EXPORT_SYMBOL(__up);
41EXPORT_SYMBOL(__down_trylock);
42
43/* Networking helper routines. */
44/* Delay loops */
45EXPORT_SYMBOL(__udelay);
46EXPORT_SYMBOL(__delay);
47EXPORT_SYMBOL(__const_udelay);
48
49EXPORT_SYMBOL(__get_user_1);
50EXPORT_SYMBOL(__get_user_2);
51EXPORT_SYMBOL(__get_user_4);
52
53EXPORT_SYMBOL(strpbrk);
54EXPORT_SYMBOL(strstr);
55
56EXPORT_SYMBOL(strncpy_from_user);
57EXPORT_SYMBOL(__strncpy_from_user);
58EXPORT_SYMBOL(clear_user);
59EXPORT_SYMBOL(__clear_user);
60EXPORT_SYMBOL(__generic_copy_from_user);
61EXPORT_SYMBOL(__generic_copy_to_user);
62EXPORT_SYMBOL(strnlen_user);
63
64#ifdef CONFIG_SMP
65#ifdef CONFIG_CHIP_M32700_TS1
66extern void *dcache_dummy;
67EXPORT_SYMBOL(dcache_dummy);
68#endif
69EXPORT_SYMBOL(cpu_data);
70EXPORT_SYMBOL(cpu_online_map);
71EXPORT_SYMBOL(cpu_callout_map);
72
73/* Global SMP stuff */
74EXPORT_SYMBOL(synchronize_irq);
75EXPORT_SYMBOL(smp_call_function);
76
77/* TLB flushing */
78EXPORT_SYMBOL(smp_flush_tlb_page);
79#endif
80
81/* compiler generated symbol */
82extern void __ashldi3(void);
83extern void __ashrdi3(void);
84extern void __lshldi3(void);
85extern void __lshrdi3(void);
86extern void __muldi3(void);
87EXPORT_SYMBOL(__ashldi3);
88EXPORT_SYMBOL(__ashrdi3);
89EXPORT_SYMBOL(__lshldi3);
90EXPORT_SYMBOL(__lshrdi3);
91EXPORT_SYMBOL(__muldi3);
92
93/* memory and string operations */
94EXPORT_SYMBOL(memchr);
95EXPORT_SYMBOL(memcpy);
96/* EXPORT_SYMBOL(memcpy_fromio); // not implement yet */
97/* EXPORT_SYMBOL(memcpy_toio); // not implement yet */
98EXPORT_SYMBOL(memset);
99/* EXPORT_SYMBOL(memset_io); // not implement yet */
100EXPORT_SYMBOL(memmove);
101EXPORT_SYMBOL(memcmp);
102EXPORT_SYMBOL(memscan);
103EXPORT_SYMBOL(copy_page);
104EXPORT_SYMBOL(clear_page);
105
106EXPORT_SYMBOL(strcat);
107EXPORT_SYMBOL(strchr);
108EXPORT_SYMBOL(strcmp);
109EXPORT_SYMBOL(strcpy);
110EXPORT_SYMBOL(strlen);
111EXPORT_SYMBOL(strncat);
112EXPORT_SYMBOL(strncmp);
113EXPORT_SYMBOL(strnlen);
114EXPORT_SYMBOL(strncpy);
115
116EXPORT_SYMBOL(_inb);
117EXPORT_SYMBOL(_inw);
118EXPORT_SYMBOL(_inl);
119EXPORT_SYMBOL(_outb);
120EXPORT_SYMBOL(_outw);
121EXPORT_SYMBOL(_outl);
122EXPORT_SYMBOL(_inb_p);
123EXPORT_SYMBOL(_inw_p);
124EXPORT_SYMBOL(_inl_p);
125EXPORT_SYMBOL(_outb_p);
126EXPORT_SYMBOL(_outw_p);
127EXPORT_SYMBOL(_outl_p);
128EXPORT_SYMBOL(_insb);
129EXPORT_SYMBOL(_insw);
130EXPORT_SYMBOL(_insl);
131EXPORT_SYMBOL(_outsb);
132EXPORT_SYMBOL(_outsw);
133EXPORT_SYMBOL(_outsl);
134EXPORT_SYMBOL(_readb);
135EXPORT_SYMBOL(_readw);
136EXPORT_SYMBOL(_readl);
137EXPORT_SYMBOL(_writeb);
138EXPORT_SYMBOL(_writew);
139EXPORT_SYMBOL(_writel);
140