1 #include <linux/module.h>
2 #include <linux/user.h>
3 #include <linux/elfcore.h>
4 #include <linux/sched.h>
6 #include <linux/interrupt.h>
7 #include <linux/smp_lock.h>
9 #include <linux/kernel.h>
10 #include <linux/string.h>
11 #include <linux/tty.h>
13 #include <asm/semaphore.h>
14 #include <asm/processor.h>
15 #include <asm/uaccess.h>
16 #include <asm/checksum.h>
18 #include <asm/delay.h>
20 #include <asm/pgtable.h>
21 #include <asm/fasttimer.h>
23 extern unsigned long get_cmos_time(void);
24 extern void __Udiv(void);
25 extern void __Umod(void);
26 extern void __Div(void);
27 extern void __Mod(void);
28 extern void __ashldi3(void);
29 extern void __ashrdi3(void);
30 extern void __lshrdi3(void);
31 extern void iounmap(volatile void * __iomem
);
33 /* Platform dependent support */
34 EXPORT_SYMBOL(kernel_thread
);
35 EXPORT_SYMBOL(get_cmos_time
);
36 EXPORT_SYMBOL(loops_per_usec
);
38 /* String functions */
39 EXPORT_SYMBOL(memcmp
);
40 EXPORT_SYMBOL(memmove
);
41 EXPORT_SYMBOL(strstr
);
42 EXPORT_SYMBOL(strcpy
);
43 EXPORT_SYMBOL(strchr
);
44 EXPORT_SYMBOL(strcmp
);
45 EXPORT_SYMBOL(strlen
);
46 EXPORT_SYMBOL(strcat
);
47 EXPORT_SYMBOL(strncat
);
48 EXPORT_SYMBOL(strncmp
);
49 EXPORT_SYMBOL(strncpy
);
52 EXPORT_SYMBOL(__Udiv
);
53 EXPORT_SYMBOL(__Umod
);
56 EXPORT_SYMBOL(__ashldi3
);
57 EXPORT_SYMBOL(__ashrdi3
);
58 EXPORT_SYMBOL(__lshrdi3
);
60 /* Memory functions */
61 EXPORT_SYMBOL(__ioremap
);
62 EXPORT_SYMBOL(iounmap
);
64 /* Semaphore functions */
66 EXPORT_SYMBOL(__down
);
67 EXPORT_SYMBOL(__down_interruptible
);
68 EXPORT_SYMBOL(__down_trylock
);
70 /* Userspace access functions */
71 EXPORT_SYMBOL(__copy_user_zeroing
);
72 EXPORT_SYMBOL(__copy_user
);
76 extern void * memset(void *, int, __kernel_size_t
);
77 extern void * memcpy(void *, const void *, __kernel_size_t
);
78 EXPORT_SYMBOL(memcpy
);
79 EXPORT_SYMBOL(memset
);
81 #ifdef CONFIG_ETRAX_FAST_TIMER
82 /* Fast timer functions */
83 EXPORT_SYMBOL(fast_timer_list
);
84 EXPORT_SYMBOL(start_one_shot_timer
);
85 EXPORT_SYMBOL(del_fast_timer
);
86 EXPORT_SYMBOL(schedule_usleep
);