1#include <linux/module.h>
2#include <linux/user.h>
3#include <linux/elfcore.h>
4#include <linux/sched.h>
5#include <linux/in6.h>
6#include <linux/interrupt.h>
7#include <linux/pm.h>
8#include <linux/kernel.h>
9#include <linux/string.h>
10#include <linux/tty.h>
11
12#include <asm/processor.h>
13#include <asm/uaccess.h>
14#include <asm/checksum.h>
15#include <asm/io.h>
16#include <asm/delay.h>
17#include <asm/irq.h>
18#include <asm/pgtable.h>
19#include <asm/fasttimer.h>
20
21extern unsigned long get_cmos_time(void);
22extern void __Udiv(void);
23extern void __Umod(void);
24extern void __Div(void);
25extern void __Mod(void);
26extern void __ashldi3(void);
27extern void __ashrdi3(void);
28extern void __lshrdi3(void);
29extern void __negdi2(void);
30extern void iounmap(volatile void * __iomem);
31
32/* Platform dependent support */
33EXPORT_SYMBOL(get_cmos_time);
34EXPORT_SYMBOL(loops_per_usec);
35
36/* Math functions */
37EXPORT_SYMBOL(__Udiv);
38EXPORT_SYMBOL(__Umod);
39EXPORT_SYMBOL(__Div);
40EXPORT_SYMBOL(__Mod);
41EXPORT_SYMBOL(__ashldi3);
42EXPORT_SYMBOL(__ashrdi3);
43EXPORT_SYMBOL(__lshrdi3);
44EXPORT_SYMBOL(__negdi2);
45
46/* Memory functions */
47EXPORT_SYMBOL(__ioremap);
48EXPORT_SYMBOL(iounmap);
49
50#undef memcpy
51#undef memset
52extern void * memset(void *, int, __kernel_size_t);
53extern void * memcpy(void *, const void *, __kernel_size_t);
54EXPORT_SYMBOL(memcpy);
55EXPORT_SYMBOL(memset);
56#ifdef CONFIG_ETRAX_ARCH_V32
57#undef strcmp
58EXPORT_SYMBOL(strcmp);
59#endif
60
61#ifdef CONFIG_ETRAX_FAST_TIMER
62/* Fast timer functions */
63EXPORT_SYMBOL(fast_timer_list);
64EXPORT_SYMBOL(start_one_shot_timer);
65EXPORT_SYMBOL(del_fast_timer);
66EXPORT_SYMBOL(schedule_usleep);
67#endif
68EXPORT_SYMBOL(csum_partial);
69EXPORT_SYMBOL(csum_partial_copy_from_user);
70EXPORT_SYMBOL(csum_partial_copy_nocheck);
71