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 */ 29extern void __ashldi3(void); 30EXPORT_SYMBOL(__ashldi3); 31extern void __ashrdi3(void); 32EXPORT_SYMBOL(__ashrdi3); 33extern void __divsi3(void); 34EXPORT_SYMBOL(__divsi3); 35extern void __lshrdi3(void); 36EXPORT_SYMBOL(__lshrdi3); 37extern void __modsi3(void); 38EXPORT_SYMBOL(__modsi3); 39extern void __mulsi3(void); 40EXPORT_SYMBOL(__mulsi3); 41extern void __muldi3(void); 42EXPORT_SYMBOL(__muldi3); 43extern void __ucmpdi2(void); 44EXPORT_SYMBOL(__ucmpdi2); 45extern void __udivsi3(void); 46EXPORT_SYMBOL(__udivsi3); 47extern void __umodsi3(void); 48EXPORT_SYMBOL(__umodsi3); 49extern char *_ebss; 50EXPORT_SYMBOL_GPL(_ebss); 51#ifdef CONFIG_FUNCTION_TRACER 52extern void _mcount(void); 53EXPORT_SYMBOL(_mcount); 54#endif 55 56/* 57 * Assembly functions that may be used (directly or indirectly) by modules 58 */ 59EXPORT_SYMBOL(__copy_tofrom_user); 60EXPORT_SYMBOL(__strncpy_user); 61 62#ifdef CONFIG_OPT_LIB_ASM 63EXPORT_SYMBOL(memcpy); 64EXPORT_SYMBOL(memmove); 65#endif 66