Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 7 | #include <linux/pm.h> |
| 8 | #include <linux/kernel.h> |
| 9 | #include <linux/string.h> |
| 10 | #include <linux/tty.h> |
| 11 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 12 | #include <asm/processor.h> |
Linus Torvalds | 7c0f6ba | 2016-12-24 11:46:01 -0800 | [diff] [blame] | 13 | #include <linux/uaccess.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 21 | extern void __Udiv(void); |
| 22 | extern void __Umod(void); |
| 23 | extern void __Div(void); |
| 24 | extern void __Mod(void); |
Mikael Starvik | 7cf32ca | 2005-07-27 11:44:38 -0700 | [diff] [blame] | 25 | extern void __ashldi3(void); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 26 | extern void __ashrdi3(void); |
Mikael Starvik | 7cf32ca | 2005-07-27 11:44:38 -0700 | [diff] [blame] | 27 | extern void __lshrdi3(void); |
Jesper Nilsson | 5af26b1 | 2007-11-14 17:01:02 -0800 | [diff] [blame] | 28 | extern void __negdi2(void); |
Mikael Starvik | 7cf32ca | 2005-07-27 11:44:38 -0700 | [diff] [blame] | 29 | extern void iounmap(volatile void * __iomem); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 30 | |
| 31 | /* Platform dependent support */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 32 | EXPORT_SYMBOL(loops_per_usec); |
| 33 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 34 | /* Math functions */ |
| 35 | EXPORT_SYMBOL(__Udiv); |
| 36 | EXPORT_SYMBOL(__Umod); |
| 37 | EXPORT_SYMBOL(__Div); |
| 38 | EXPORT_SYMBOL(__Mod); |
Mikael Starvik | 7cf32ca | 2005-07-27 11:44:38 -0700 | [diff] [blame] | 39 | EXPORT_SYMBOL(__ashldi3); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 40 | EXPORT_SYMBOL(__ashrdi3); |
Mikael Starvik | 7cf32ca | 2005-07-27 11:44:38 -0700 | [diff] [blame] | 41 | EXPORT_SYMBOL(__lshrdi3); |
Jesper Nilsson | 5af26b1 | 2007-11-14 17:01:02 -0800 | [diff] [blame] | 42 | EXPORT_SYMBOL(__negdi2); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 43 | |
| 44 | /* Memory functions */ |
| 45 | EXPORT_SYMBOL(__ioremap); |
| 46 | EXPORT_SYMBOL(iounmap); |
| 47 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 48 | #undef memcpy |
| 49 | #undef memset |
| 50 | extern void * memset(void *, int, __kernel_size_t); |
| 51 | extern void * memcpy(void *, const void *, __kernel_size_t); |
| 52 | EXPORT_SYMBOL(memcpy); |
| 53 | EXPORT_SYMBOL(memset); |
Jesper Nilsson | dbd3c7e | 2014-10-07 12:20:47 +0200 | [diff] [blame] | 54 | #ifdef CONFIG_ETRAX_ARCH_V32 |
| 55 | #undef strcmp |
| 56 | EXPORT_SYMBOL(strcmp); |
| 57 | #endif |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 58 | |
| 59 | #ifdef CONFIG_ETRAX_FAST_TIMER |
| 60 | /* Fast timer functions */ |
| 61 | EXPORT_SYMBOL(fast_timer_list); |
| 62 | EXPORT_SYMBOL(start_one_shot_timer); |
| 63 | EXPORT_SYMBOL(del_fast_timer); |
| 64 | EXPORT_SYMBOL(schedule_usleep); |
| 65 | #endif |
Jesper Nilsson | 5af26b1 | 2007-11-14 17:01:02 -0800 | [diff] [blame] | 66 | EXPORT_SYMBOL(csum_partial); |
Jesper Nilsson | dbd3c7e | 2014-10-07 12:20:47 +0200 | [diff] [blame] | 67 | EXPORT_SYMBOL(csum_partial_copy_from_user); |
Jesper Nilsson | 4806f8b | 2015-01-16 15:34:55 +0100 | [diff] [blame] | 68 | EXPORT_SYMBOL(csum_partial_copy_nocheck); |