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>
10 #include <linux/config.h>
12 #include <asm/pgalloc.h>
15 #include <asm/semaphore.h>
16 #include <asm/checksum.h>
17 #include <asm/current.h>
20 extern void *trap_table;
21 EXPORT_SYMBOL (trap_table);
23 /* platform dependent support */
24 EXPORT_SYMBOL (kernel_thread);
25 EXPORT_SYMBOL (enable_irq);
26 EXPORT_SYMBOL (disable_irq);
27 EXPORT_SYMBOL (disable_irq_nosync);
28 EXPORT_SYMBOL (__bug);
30 /* Networking helper routines. */
31 EXPORT_SYMBOL (csum_partial_copy);
32 EXPORT_SYMBOL (csum_partial_copy_from_user);
33 EXPORT_SYMBOL (ip_compute_csum);
34 EXPORT_SYMBOL (ip_fast_csum);
36 /* string / mem functions */
37 EXPORT_SYMBOL (strcpy);
38 EXPORT_SYMBOL (strncpy);
39 EXPORT_SYMBOL (strcat);
40 EXPORT_SYMBOL (strncat);
41 EXPORT_SYMBOL (strcmp);
42 EXPORT_SYMBOL (strncmp);
43 EXPORT_SYMBOL (strchr);
44 EXPORT_SYMBOL (strlen);
45 EXPORT_SYMBOL (strnlen);
46 EXPORT_SYMBOL (strrchr);
47 EXPORT_SYMBOL (strstr);
48 EXPORT_SYMBOL (memset);
49 EXPORT_SYMBOL (memcpy);
50 EXPORT_SYMBOL (memmove);
51 EXPORT_SYMBOL (memcmp);
52 EXPORT_SYMBOL (memscan);
55 EXPORT_SYMBOL (__down);
56 EXPORT_SYMBOL (__down_interruptible);
57 EXPORT_SYMBOL (__down_trylock);
61 * libgcc functions - functions that are used internally by the
62 * compiler... (prototypes are not correct though, but that
63 * doesn't really matter since they're not versioned).
65 extern void __ashldi3 (void);
66 extern void __ashrdi3 (void);
67 extern void __lshrdi3 (void);
68 extern void __muldi3 (void);
69 extern void __negdi2 (void);
71 EXPORT_SYMBOL (__ashldi3);
72 EXPORT_SYMBOL (__ashrdi3);
73 EXPORT_SYMBOL (__lshrdi3);
74 EXPORT_SYMBOL (__muldi3);
75 EXPORT_SYMBOL (__negdi2);