blob: 7ac000f6a888d0d368468f38bee411877ad9034a [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>
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
Linus Torvalds1da177e2005-04-16 15:20:36 -070021extern unsigned long get_cmos_time(void);
22extern void __Udiv(void);
23extern void __Umod(void);
24extern void __Div(void);
25extern void __Mod(void);
Mikael Starvik7cf32ca2005-07-27 11:44:38 -070026extern void __ashldi3(void);
Linus Torvalds1da177e2005-04-16 15:20:36 -070027extern void __ashrdi3(void);
Mikael Starvik7cf32ca2005-07-27 11:44:38 -070028extern void __lshrdi3(void);
Jesper Nilsson5af26b12007-11-14 17:01:02 -080029extern void __negdi2(void);
Mikael Starvik7cf32ca2005-07-27 11:44:38 -070030extern void iounmap(volatile void * __iomem);
Linus Torvalds1da177e2005-04-16 15:20:36 -070031
32/* Platform dependent support */
Linus Torvalds1da177e2005-04-16 15:20:36 -070033EXPORT_SYMBOL(kernel_thread);
34EXPORT_SYMBOL(get_cmos_time);
35EXPORT_SYMBOL(loops_per_usec);
36
Linus Torvalds1da177e2005-04-16 15:20:36 -070037/* Math functions */
38EXPORT_SYMBOL(__Udiv);
39EXPORT_SYMBOL(__Umod);
40EXPORT_SYMBOL(__Div);
41EXPORT_SYMBOL(__Mod);
Mikael Starvik7cf32ca2005-07-27 11:44:38 -070042EXPORT_SYMBOL(__ashldi3);
Linus Torvalds1da177e2005-04-16 15:20:36 -070043EXPORT_SYMBOL(__ashrdi3);
Mikael Starvik7cf32ca2005-07-27 11:44:38 -070044EXPORT_SYMBOL(__lshrdi3);
Jesper Nilsson5af26b12007-11-14 17:01:02 -080045EXPORT_SYMBOL(__negdi2);
Linus Torvalds1da177e2005-04-16 15:20:36 -070046
47/* Memory functions */
48EXPORT_SYMBOL(__ioremap);
49EXPORT_SYMBOL(iounmap);
50
Linus Torvalds1da177e2005-04-16 15:20:36 -070051/* Userspace access functions */
52EXPORT_SYMBOL(__copy_user_zeroing);
53EXPORT_SYMBOL(__copy_user);
54
Linus Torvalds1da177e2005-04-16 15:20:36 -070055#undef memcpy
56#undef memset
57extern void * memset(void *, int, __kernel_size_t);
58extern void * memcpy(void *, const void *, __kernel_size_t);
59EXPORT_SYMBOL(memcpy);
60EXPORT_SYMBOL(memset);
61
62#ifdef CONFIG_ETRAX_FAST_TIMER
63/* Fast timer functions */
64EXPORT_SYMBOL(fast_timer_list);
65EXPORT_SYMBOL(start_one_shot_timer);
66EXPORT_SYMBOL(del_fast_timer);
67EXPORT_SYMBOL(schedule_usleep);
68#endif
Jesper Nilsson5af26b12007-11-14 17:01:02 -080069EXPORT_SYMBOL(csum_partial);