| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #include <linux/module.h> |
| 2 | #include <linux/linkage.h> |
| 3 | #include <linux/sched.h> |
| 4 | #include <linux/string.h> |
| 5 | #include <linux/mm.h> |
| 6 | #include <linux/user.h> |
| 7 | #include <linux/elfcore.h> |
| 8 | #include <linux/in6.h> |
| 9 | #include <linux/interrupt.h> |
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 10 | |
| 11 | #include <asm/pgalloc.h> |
| 12 | #include <asm/irq.h> |
| 13 | #include <asm/io.h> |
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 14 | #include <asm/checksum.h> |
| 15 | #include <asm/current.h> |
| 16 | |
| 17 | |
| 18 | extern void *trap_table; |
| 19 | EXPORT_SYMBOL (trap_table); |
| 20 | |
| 21 | /* platform dependent support */ |
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 22 | EXPORT_SYMBOL (kernel_thread); |
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 23 | EXPORT_SYMBOL (__bug); |
| 24 | |
| 25 | /* Networking helper routines. */ |
| Al Viro | 9d3d419 | 2006-11-14 21:19:44 -0800 | [diff] [blame] | 26 | EXPORT_SYMBOL (csum_partial_copy_nocheck); |
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 27 | EXPORT_SYMBOL (csum_partial_copy_from_user); |
| 28 | EXPORT_SYMBOL (ip_compute_csum); |
| 29 | EXPORT_SYMBOL (ip_fast_csum); |
| 30 | |
| 31 | /* string / mem functions */ |
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 32 | EXPORT_SYMBOL (memset); |
| 33 | EXPORT_SYMBOL (memcpy); |
| 34 | EXPORT_SYMBOL (memmove); |
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 35 | |
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 36 | /* |
| 37 | * libgcc functions - functions that are used internally by the |
| 38 | * compiler... (prototypes are not correct though, but that |
| 39 | * doesn't really matter since they're not versioned). |
| 40 | */ |
| 41 | extern void __ashldi3 (void); |
| 42 | extern void __ashrdi3 (void); |
| 43 | extern void __lshrdi3 (void); |
| 44 | extern void __muldi3 (void); |
| 45 | extern void __negdi2 (void); |
| 46 | |
| 47 | EXPORT_SYMBOL (__ashldi3); |
| 48 | EXPORT_SYMBOL (__ashrdi3); |
| 49 | EXPORT_SYMBOL (__lshrdi3); |
| 50 | EXPORT_SYMBOL (__muldi3); |
| 51 | EXPORT_SYMBOL (__negdi2); |