1 #include <linux/module.h>
2 #include <linux/linkage.h>
3 #include <linux/sched.h>
4 #include <linux/string.h>
6 #include <linux/user.h>
7 #include <linux/elfcore.h>
9 #include <linux/interrupt.h>
11 #include <asm/pgalloc.h>
14 #include <asm/semaphore.h>
15 #include <asm/checksum.h>
16 #include <asm/current.h>
19 extern void *trap_table;
20 EXPORT_SYMBOL (trap_table);
22 /* platform dependent support */
23 EXPORT_SYMBOL (kernel_thread);
24 EXPORT_SYMBOL (enable_irq);
25 EXPORT_SYMBOL (disable_irq);
26 EXPORT_SYMBOL (disable_irq_nosync);
27 EXPORT_SYMBOL (__bug);
29 /* Networking helper routines. */
30 EXPORT_SYMBOL (csum_partial_copy);
31 EXPORT_SYMBOL (csum_partial_copy_from_user);
32 EXPORT_SYMBOL (ip_compute_csum);
33 EXPORT_SYMBOL (ip_fast_csum);
35 /* string / mem functions */
36 EXPORT_SYMBOL (strcpy);
37 EXPORT_SYMBOL (strncpy);
38 EXPORT_SYMBOL (strcat);
39 EXPORT_SYMBOL (strncat);
40 EXPORT_SYMBOL (strcmp);
41 EXPORT_SYMBOL (strncmp);
42 EXPORT_SYMBOL (strchr);
43 EXPORT_SYMBOL (strlen);
44 EXPORT_SYMBOL (strnlen);
45 EXPORT_SYMBOL (strrchr);
46 EXPORT_SYMBOL (strstr);
47 EXPORT_SYMBOL (memset);
48 EXPORT_SYMBOL (memcpy);
49 EXPORT_SYMBOL (memmove);
50 EXPORT_SYMBOL (memcmp);
51 EXPORT_SYMBOL (memscan);
54 EXPORT_SYMBOL (__down);
55 EXPORT_SYMBOL (__down_interruptible);
56 EXPORT_SYMBOL (__down_trylock);
60 * libgcc functions - functions that are used internally by the
61 * compiler... (prototypes are not correct though, but that
62 * doesn't really matter since they're not versioned).
64 extern void __ashldi3 (void);
65 extern void __ashrdi3 (void);
66 extern void __lshrdi3 (void);
67 extern void __muldi3 (void);
68 extern void __negdi2 (void);
70 EXPORT_SYMBOL (__ashldi3);
71 EXPORT_SYMBOL (__ashrdi3);
72 EXPORT_SYMBOL (__lshrdi3);
73 EXPORT_SYMBOL (__muldi3);
74 EXPORT_SYMBOL (__negdi2);