Michal Simek | f6b165c | 2009-03-27 14:25:17 +0100 | [diff] [blame] | 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> |
Michal Simek | 2fd7c76 | 2009-11-16 09:40:14 +0100 | [diff] [blame] | 21 | #include <linux/ftrace.h> |
Michal Simek | f6b165c | 2009-03-27 14:25:17 +0100 | [diff] [blame] | 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); |
Arnd Bergmann | 5af7fa6 | 2009-05-01 21:48:15 +0000 | [diff] [blame] | 49 | extern char *_ebss; |
| 50 | EXPORT_SYMBOL_GPL(_ebss); |
Michal Simek | 2fd7c76 | 2009-11-16 09:40:14 +0100 | [diff] [blame] | 51 | #ifdef CONFIG_FUNCTION_TRACER |
| 52 | extern void _mcount(void); |
| 53 | EXPORT_SYMBOL(_mcount); |
| 54 | #endif |
Steven J. Magnani | e1733d2 | 2010-04-27 13:00:35 -0500 | [diff] [blame^] | 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 |