blob: 85833d704ebb2579a137779893830a96c0e5080b [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#include <linux/config.h>
2#include <linux/module.h>
3#include <linux/user.h>
4#include <linux/elfcore.h>
5#include <linux/sched.h>
6#include <linux/in6.h>
7#include <linux/interrupt.h>
8#include <linux/smp_lock.h>
9#include <linux/pm.h>
10#include <linux/kernel.h>
11#include <linux/string.h>
12#include <linux/tty.h>
13
14#include <asm/semaphore.h>
15#include <asm/processor.h>
16#include <asm/uaccess.h>
17#include <asm/checksum.h>
18#include <asm/io.h>
19#include <asm/delay.h>
20#include <asm/irq.h>
21#include <asm/pgtable.h>
22#include <asm/fasttimer.h>
23
24extern void dump_thread(struct pt_regs *, struct user *);
25extern unsigned long get_cmos_time(void);
26extern void __Udiv(void);
27extern void __Umod(void);
28extern void __Div(void);
29extern void __Mod(void);
Mikael Starvik7cf32ca2005-07-27 11:44:38 -070030extern void __ashldi3(void);
Linus Torvalds1da177e2005-04-16 15:20:36 -070031extern void __ashrdi3(void);
Mikael Starvik7cf32ca2005-07-27 11:44:38 -070032extern void __lshrdi3(void);
33extern void iounmap(volatile void * __iomem);
Linus Torvalds1da177e2005-04-16 15:20:36 -070034
35/* Platform dependent support */
36EXPORT_SYMBOL(dump_thread);
Linus Torvalds1da177e2005-04-16 15:20:36 -070037EXPORT_SYMBOL(kernel_thread);
38EXPORT_SYMBOL(get_cmos_time);
39EXPORT_SYMBOL(loops_per_usec);
40
41/* String functions */
42EXPORT_SYMBOL(memcmp);
43EXPORT_SYMBOL(memmove);
44EXPORT_SYMBOL(strpbrk);
45EXPORT_SYMBOL(strstr);
46EXPORT_SYMBOL(strcpy);
47EXPORT_SYMBOL(strchr);
48EXPORT_SYMBOL(strcmp);
49EXPORT_SYMBOL(strlen);
50EXPORT_SYMBOL(strcat);
51EXPORT_SYMBOL(strncat);
52EXPORT_SYMBOL(strncmp);
53EXPORT_SYMBOL(strncpy);
54
55/* Math functions */
56EXPORT_SYMBOL(__Udiv);
57EXPORT_SYMBOL(__Umod);
58EXPORT_SYMBOL(__Div);
59EXPORT_SYMBOL(__Mod);
Mikael Starvik7cf32ca2005-07-27 11:44:38 -070060EXPORT_SYMBOL(__ashldi3);
Linus Torvalds1da177e2005-04-16 15:20:36 -070061EXPORT_SYMBOL(__ashrdi3);
Mikael Starvik7cf32ca2005-07-27 11:44:38 -070062EXPORT_SYMBOL(__lshrdi3);
Linus Torvalds1da177e2005-04-16 15:20:36 -070063
64/* Memory functions */
65EXPORT_SYMBOL(__ioremap);
66EXPORT_SYMBOL(iounmap);
67
68/* Semaphore functions */
69EXPORT_SYMBOL(__up);
70EXPORT_SYMBOL(__down);
71EXPORT_SYMBOL(__down_interruptible);
72EXPORT_SYMBOL(__down_trylock);
73
Linus Torvalds1da177e2005-04-16 15:20:36 -070074/* Userspace access functions */
75EXPORT_SYMBOL(__copy_user_zeroing);
76EXPORT_SYMBOL(__copy_user);
77
Linus Torvalds1da177e2005-04-16 15:20:36 -070078#undef memcpy
79#undef memset
80extern void * memset(void *, int, __kernel_size_t);
81extern void * memcpy(void *, const void *, __kernel_size_t);
82EXPORT_SYMBOL(memcpy);
83EXPORT_SYMBOL(memset);
84
85#ifdef CONFIG_ETRAX_FAST_TIMER
86/* Fast timer functions */
87EXPORT_SYMBOL(fast_timer_list);
88EXPORT_SYMBOL(start_one_shot_timer);
89EXPORT_SYMBOL(del_fast_timer);
90EXPORT_SYMBOL(schedule_usleep);
91#endif
92