2009-03-27 14:25:17 +01:00
/*
* Copyright ( C ) 2008 - 2009 Michal Simek < monstr @ monstr . eu >
* Copyright ( C ) 2008 - 2009 PetaLogix
*
* This program is free software ; you can redistribute it and / or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation .
*/
# include <linux/module.h>
# include <linux/string.h>
# include <linux/cryptohash.h>
# include <linux/delay.h>
# include <linux/in6.h>
# include <linux/syscalls.h>
# include <asm/checksum.h>
# include <linux/io.h>
# include <asm/page.h>
# include <asm/system.h>
2009-11-16 09:40:14 +01:00
# include <linux/ftrace.h>
2009-03-27 14:25:17 +01:00
# include <linux/uaccess.h>
/*
* libgcc functions - functions that are used internally by the
* compiler . . . ( prototypes are not correct though , but that
* doesn ' t really matter since they ' re not versioned ) .
*/
extern void __ashldi3 ( void ) ;
EXPORT_SYMBOL ( __ashldi3 ) ;
extern void __ashrdi3 ( void ) ;
EXPORT_SYMBOL ( __ashrdi3 ) ;
extern void __divsi3 ( void ) ;
EXPORT_SYMBOL ( __divsi3 ) ;
extern void __lshrdi3 ( void ) ;
EXPORT_SYMBOL ( __lshrdi3 ) ;
extern void __modsi3 ( void ) ;
EXPORT_SYMBOL ( __modsi3 ) ;
extern void __mulsi3 ( void ) ;
EXPORT_SYMBOL ( __mulsi3 ) ;
extern void __muldi3 ( void ) ;
EXPORT_SYMBOL ( __muldi3 ) ;
extern void __ucmpdi2 ( void ) ;
EXPORT_SYMBOL ( __ucmpdi2 ) ;
extern void __udivsi3 ( void ) ;
EXPORT_SYMBOL ( __udivsi3 ) ;
extern void __umodsi3 ( void ) ;
EXPORT_SYMBOL ( __umodsi3 ) ;
2009-05-01 21:48:15 +00:00
extern char * _ebss ;
EXPORT_SYMBOL_GPL ( _ebss ) ;
2009-11-16 09:40:14 +01:00
# ifdef CONFIG_FUNCTION_TRACER
extern void _mcount ( void ) ;
EXPORT_SYMBOL ( _mcount ) ;
# endif
2010-04-27 13:00:35 -05:00
/*
* Assembly functions that may be used ( directly or indirectly ) by modules
*/
EXPORT_SYMBOL ( __copy_tofrom_user ) ;
2010-05-13 12:11:42 +02:00
EXPORT_SYMBOL ( __strncpy_user ) ;
2010-04-27 13:00:35 -05:00
# ifdef CONFIG_OPT_LIB_ASM
EXPORT_SYMBOL ( memcpy ) ;
EXPORT_SYMBOL ( memmove ) ;
# endif