1 // SPDX-License-Identifier: GPL-2.0
2 #include <linux/module.h>
3 #include <linux/user.h>
4 #include <linux/elfcore.h>
5 #include <linux/sched.h>
7 #include <linux/interrupt.h>
9 #include <linux/kernel.h>
10 #include <linux/string.h>
11 #include <linux/tty.h>
13 #include <asm/processor.h>
14 #include <linux/uaccess.h>
15 #include <asm/checksum.h>
17 #include <asm/delay.h>
19 #include <asm/pgtable.h>
20 #include <asm/fasttimer.h>
22 extern void __Udiv(void);
23 extern void __Umod(void);
24 extern void __Div(void);
25 extern void __Mod(void);
26 extern void __ashldi3(void);
27 extern void __ashrdi3(void);
28 extern void __lshrdi3(void);
29 extern void __negdi2(void);
30 extern void iounmap(volatile void * __iomem
);
32 /* Platform dependent support */
33 EXPORT_SYMBOL(loops_per_usec
);
36 EXPORT_SYMBOL(__Udiv
);
37 EXPORT_SYMBOL(__Umod
);
40 EXPORT_SYMBOL(__ashldi3
);
41 EXPORT_SYMBOL(__ashrdi3
);
42 EXPORT_SYMBOL(__lshrdi3
);
43 EXPORT_SYMBOL(__negdi2
);
45 /* Memory functions */
46 EXPORT_SYMBOL(__ioremap
);
47 EXPORT_SYMBOL(iounmap
);
51 extern void * memset(void *, int, __kernel_size_t
);
52 extern void * memcpy(void *, const void *, __kernel_size_t
);
53 EXPORT_SYMBOL(memcpy
);
54 EXPORT_SYMBOL(memset
);
55 #ifdef CONFIG_ETRAX_ARCH_V32
57 EXPORT_SYMBOL(strcmp
);
60 #ifdef CONFIG_ETRAX_FAST_TIMER
61 /* Fast timer functions */
62 EXPORT_SYMBOL(fast_timer_list
);
63 EXPORT_SYMBOL(start_one_shot_timer
);
64 EXPORT_SYMBOL(del_fast_timer
);
65 EXPORT_SYMBOL(schedule_usleep
);
67 EXPORT_SYMBOL(csum_partial
);
68 EXPORT_SYMBOL(csum_partial_copy_from_user
);
69 EXPORT_SYMBOL(csum_partial_copy_nocheck
);