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> 7#include <linux/pm.h> 8#include <linux/kernel.h> 9#include <linux/string.h> 10#include <linux/tty.h> 11 12#include <asm/semaphore.h> 13#include <asm/processor.h> 14#include <asm/uaccess.h> 15#include <asm/checksum.h> 16#include <asm/io.h> 17#include <asm/delay.h> 18#include <asm/irq.h> 19#include <asm/pgtable.h> 20#include <asm/fasttimer.h> 21 22extern unsigned long get_cmos_time(void); 23extern void __Udiv(void); 24extern void __Umod(void); 25extern void __Div(void); 26extern void __Mod(void); 27extern void __ashldi3(void); 28extern void __ashrdi3(void); 29extern void __lshrdi3(void); 30extern void __negdi2(void); 31extern void iounmap(volatile void * __iomem); 32 33/* Platform dependent support */ 34EXPORT_SYMBOL(kernel_thread); 35EXPORT_SYMBOL(get_cmos_time); 36EXPORT_SYMBOL(loops_per_usec); 37 38/* Math functions */ 39EXPORT_SYMBOL(__Udiv); 40EXPORT_SYMBOL(__Umod); 41EXPORT_SYMBOL(__Div); 42EXPORT_SYMBOL(__Mod); 43EXPORT_SYMBOL(__ashldi3); 44EXPORT_SYMBOL(__ashrdi3); 45EXPORT_SYMBOL(__lshrdi3); 46EXPORT_SYMBOL(__negdi2); 47 48/* Memory functions */ 49EXPORT_SYMBOL(__ioremap); 50EXPORT_SYMBOL(iounmap); 51 52/* Semaphore functions */ 53EXPORT_SYMBOL(__up); 54EXPORT_SYMBOL(__down); 55EXPORT_SYMBOL(__down_interruptible); 56EXPORT_SYMBOL(__down_trylock); 57 58/* Userspace access functions */ 59EXPORT_SYMBOL(__copy_user_zeroing); 60EXPORT_SYMBOL(__copy_user); 61 62#undef memcpy 63#undef memset 64extern void * memset(void *, int, __kernel_size_t); 65extern void * memcpy(void *, const void *, __kernel_size_t); 66EXPORT_SYMBOL(memcpy); 67EXPORT_SYMBOL(memset); 68 69#ifdef CONFIG_ETRAX_FAST_TIMER 70/* Fast timer functions */ 71EXPORT_SYMBOL(fast_timer_list); 72EXPORT_SYMBOL(start_one_shot_timer); 73EXPORT_SYMBOL(del_fast_timer); 74EXPORT_SYMBOL(schedule_usleep); 75#endif 76EXPORT_SYMBOL(csum_partial); 77