2005-04-17 06:20:36 +08:00
|
|
|
#include <linux/module.h>
|
|
|
|
#include <linux/user.h>
|
|
|
|
#include <linux/elfcore.h>
|
|
|
|
#include <linux/sched.h>
|
|
|
|
#include <linux/in6.h>
|
|
|
|
#include <linux/interrupt.h>
|
|
|
|
#include <linux/pm.h>
|
|
|
|
#include <linux/kernel.h>
|
|
|
|
#include <linux/string.h>
|
|
|
|
#include <linux/tty.h>
|
|
|
|
|
|
|
|
#include <asm/processor.h>
|
2016-12-25 03:46:01 +08:00
|
|
|
#include <linux/uaccess.h>
|
2005-04-17 06:20:36 +08:00
|
|
|
#include <asm/checksum.h>
|
|
|
|
#include <asm/io.h>
|
|
|
|
#include <asm/delay.h>
|
|
|
|
#include <asm/irq.h>
|
|
|
|
#include <asm/pgtable.h>
|
|
|
|
#include <asm/fasttimer.h>
|
|
|
|
|
|
|
|
extern void __Udiv(void);
|
|
|
|
extern void __Umod(void);
|
|
|
|
extern void __Div(void);
|
|
|
|
extern void __Mod(void);
|
2005-07-28 02:44:38 +08:00
|
|
|
extern void __ashldi3(void);
|
2005-04-17 06:20:36 +08:00
|
|
|
extern void __ashrdi3(void);
|
2005-07-28 02:44:38 +08:00
|
|
|
extern void __lshrdi3(void);
|
2007-11-15 09:01:02 +08:00
|
|
|
extern void __negdi2(void);
|
2005-07-28 02:44:38 +08:00
|
|
|
extern void iounmap(volatile void * __iomem);
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
/* Platform dependent support */
|
|
|
|
EXPORT_SYMBOL(loops_per_usec);
|
|
|
|
|
|
|
|
/* Math functions */
|
|
|
|
EXPORT_SYMBOL(__Udiv);
|
|
|
|
EXPORT_SYMBOL(__Umod);
|
|
|
|
EXPORT_SYMBOL(__Div);
|
|
|
|
EXPORT_SYMBOL(__Mod);
|
2005-07-28 02:44:38 +08:00
|
|
|
EXPORT_SYMBOL(__ashldi3);
|
2005-04-17 06:20:36 +08:00
|
|
|
EXPORT_SYMBOL(__ashrdi3);
|
2005-07-28 02:44:38 +08:00
|
|
|
EXPORT_SYMBOL(__lshrdi3);
|
2007-11-15 09:01:02 +08:00
|
|
|
EXPORT_SYMBOL(__negdi2);
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
/* Memory functions */
|
|
|
|
EXPORT_SYMBOL(__ioremap);
|
|
|
|
EXPORT_SYMBOL(iounmap);
|
|
|
|
|
|
|
|
#undef memcpy
|
|
|
|
#undef memset
|
|
|
|
extern void * memset(void *, int, __kernel_size_t);
|
|
|
|
extern void * memcpy(void *, const void *, __kernel_size_t);
|
|
|
|
EXPORT_SYMBOL(memcpy);
|
|
|
|
EXPORT_SYMBOL(memset);
|
2014-10-07 18:20:47 +08:00
|
|
|
#ifdef CONFIG_ETRAX_ARCH_V32
|
|
|
|
#undef strcmp
|
|
|
|
EXPORT_SYMBOL(strcmp);
|
|
|
|
#endif
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
#ifdef CONFIG_ETRAX_FAST_TIMER
|
|
|
|
/* Fast timer functions */
|
|
|
|
EXPORT_SYMBOL(fast_timer_list);
|
|
|
|
EXPORT_SYMBOL(start_one_shot_timer);
|
|
|
|
EXPORT_SYMBOL(del_fast_timer);
|
|
|
|
EXPORT_SYMBOL(schedule_usleep);
|
|
|
|
#endif
|
2007-11-15 09:01:02 +08:00
|
|
|
EXPORT_SYMBOL(csum_partial);
|
2014-10-07 18:20:47 +08:00
|
|
|
EXPORT_SYMBOL(csum_partial_copy_from_user);
|
2015-01-16 22:34:55 +08:00
|
|
|
EXPORT_SYMBOL(csum_partial_copy_nocheck);
|