blob: 3166d1cf2f84a0149b8698c3691a2ab56601a2c2 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#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 Torvalds1da177e2005-04-16 15:20:36 -07007#include <linux/pm.h>
8#include <linux/kernel.h>
9#include <linux/string.h>
10#include <linux/tty.h>
11
Linus Torvalds1da177e2005-04-16 15:20:36 -070012#include <asm/processor.h>
Linus Torvalds7c0f6ba2016-12-24 11:46:01 -080013#include <linux/uaccess.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070014#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 Torvalds1da177e2005-04-16 15:20:36 -070021extern void __Udiv(void);
22extern void __Umod(void);
23extern void __Div(void);
24extern void __Mod(void);
Mikael Starvik7cf32ca2005-07-27 11:44:38 -070025extern void __ashldi3(void);
Linus Torvalds1da177e2005-04-16 15:20:36 -070026extern void __ashrdi3(void);
Mikael Starvik7cf32ca2005-07-27 11:44:38 -070027extern void __lshrdi3(void);
Jesper Nilsson5af26b12007-11-14 17:01:02 -080028extern void __negdi2(void);
Mikael Starvik7cf32ca2005-07-27 11:44:38 -070029extern void iounmap(volatile void * __iomem);
Linus Torvalds1da177e2005-04-16 15:20:36 -070030
31/* Platform dependent support */
Linus Torvalds1da177e2005-04-16 15:20:36 -070032EXPORT_SYMBOL(loops_per_usec);
33
Linus Torvalds1da177e2005-04-16 15:20:36 -070034/* Math functions */
35EXPORT_SYMBOL(__Udiv);
36EXPORT_SYMBOL(__Umod);
37EXPORT_SYMBOL(__Div);
38EXPORT_SYMBOL(__Mod);
Mikael Starvik7cf32ca2005-07-27 11:44:38 -070039EXPORT_SYMBOL(__ashldi3);
Linus Torvalds1da177e2005-04-16 15:20:36 -070040EXPORT_SYMBOL(__ashrdi3);
Mikael Starvik7cf32ca2005-07-27 11:44:38 -070041EXPORT_SYMBOL(__lshrdi3);
Jesper Nilsson5af26b12007-11-14 17:01:02 -080042EXPORT_SYMBOL(__negdi2);
Linus Torvalds1da177e2005-04-16 15:20:36 -070043
44/* Memory functions */
45EXPORT_SYMBOL(__ioremap);
46EXPORT_SYMBOL(iounmap);
47
Linus Torvalds1da177e2005-04-16 15:20:36 -070048#undef memcpy
49#undef memset
50extern void * memset(void *, int, __kernel_size_t);
51extern void * memcpy(void *, const void *, __kernel_size_t);
52EXPORT_SYMBOL(memcpy);
53EXPORT_SYMBOL(memset);
Jesper Nilssondbd3c7e2014-10-07 12:20:47 +020054#ifdef CONFIG_ETRAX_ARCH_V32
55#undef strcmp
56EXPORT_SYMBOL(strcmp);
57#endif
Linus Torvalds1da177e2005-04-16 15:20:36 -070058
59#ifdef CONFIG_ETRAX_FAST_TIMER
60/* Fast timer functions */
61EXPORT_SYMBOL(fast_timer_list);
62EXPORT_SYMBOL(start_one_shot_timer);
63EXPORT_SYMBOL(del_fast_timer);
64EXPORT_SYMBOL(schedule_usleep);
65#endif
Jesper Nilsson5af26b12007-11-14 17:01:02 -080066EXPORT_SYMBOL(csum_partial);
Jesper Nilssondbd3c7e2014-10-07 12:20:47 +020067EXPORT_SYMBOL(csum_partial_copy_from_user);
Jesper Nilsson4806f8b2015-01-16 15:34:55 +010068EXPORT_SYMBOL(csum_partial_copy_nocheck);