1 /* 2 * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu> 3 * Copyright (C) 2008-2009 PetaLogix 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License version 2 as 7 * published by the Free Software Foundation. 8 */ 9 10 #include <linux/module.h> 11 #include <linux/string.h> 12 #include <linux/cryptohash.h> 13 #include <linux/delay.h> 14 #include <linux/in6.h> 15 #include <linux/syscalls.h> 16 17 #include <asm/checksum.h> 18 #include <linux/io.h> 19 #include <asm/page.h> 20 #include <asm/system.h> 21 #include <linux/ftrace.h> 22 #include <linux/uaccess.h> 23 24 /* 25 * libgcc functions - functions that are used internally by the 26 * compiler... (prototypes are not correct though, but that 27 * doesn't really matter since they're not versioned). 28 */ 29 extern void __ashldi3(void); 30 EXPORT_SYMBOL(__ashldi3); 31 extern void __ashrdi3(void); 32 EXPORT_SYMBOL(__ashrdi3); 33 extern void __divsi3(void); 34 EXPORT_SYMBOL(__divsi3); 35 extern void __lshrdi3(void); 36 EXPORT_SYMBOL(__lshrdi3); 37 extern void __modsi3(void); 38 EXPORT_SYMBOL(__modsi3); 39 extern void __mulsi3(void); 40 EXPORT_SYMBOL(__mulsi3); 41 extern void __muldi3(void); 42 EXPORT_SYMBOL(__muldi3); 43 extern void __ucmpdi2(void); 44 EXPORT_SYMBOL(__ucmpdi2); 45 extern void __udivsi3(void); 46 EXPORT_SYMBOL(__udivsi3); 47 extern void __umodsi3(void); 48 EXPORT_SYMBOL(__umodsi3); 49 extern char *_ebss; 50 EXPORT_SYMBOL_GPL(_ebss); 51 #ifdef CONFIG_FUNCTION_TRACER 52 extern void _mcount(void); 53 EXPORT_SYMBOL(_mcount); 54 #endif 55 56 /* 57 * Assembly functions that may be used (directly or indirectly) by modules 58 */ 59 EXPORT_SYMBOL(__copy_tofrom_user); 60 61 #ifdef CONFIG_OPT_LIB_ASM 62 EXPORT_SYMBOL(memcpy); 63 EXPORT_SYMBOL(memmove); 64 #endif 65