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 extern void dump_thread (struct pt_regs
*, struct user
*);
25 EXPORT_SYMBOL (dump_thread
);
26 EXPORT_SYMBOL (kernel_thread
);
27 EXPORT_SYMBOL (enable_irq
);
28 EXPORT_SYMBOL (disable_irq
);
29 EXPORT_SYMBOL (disable_irq_nosync
);
30 EXPORT_SYMBOL (__bug
);
32 /* Networking helper routines. */
33 EXPORT_SYMBOL (csum_partial_copy
);
34 EXPORT_SYMBOL (csum_partial_copy_from_user
);
35 EXPORT_SYMBOL (ip_compute_csum
);
36 EXPORT_SYMBOL (ip_fast_csum
);
38 /* string / mem functions */
39 EXPORT_SYMBOL (strcpy
);
40 EXPORT_SYMBOL (strncpy
);
41 EXPORT_SYMBOL (strcat
);
42 EXPORT_SYMBOL (strncat
);
43 EXPORT_SYMBOL (strcmp
);
44 EXPORT_SYMBOL (strncmp
);
45 EXPORT_SYMBOL (strchr
);
46 EXPORT_SYMBOL (strlen
);
47 EXPORT_SYMBOL (strnlen
);
48 EXPORT_SYMBOL (strpbrk
);
49 EXPORT_SYMBOL (strrchr
);
50 EXPORT_SYMBOL (strstr
);
51 EXPORT_SYMBOL (memset
);
52 EXPORT_SYMBOL (memcpy
);
53 EXPORT_SYMBOL (memmove
);
54 EXPORT_SYMBOL (memcmp
);
55 EXPORT_SYMBOL (memscan
);
58 EXPORT_SYMBOL (__down
);
59 EXPORT_SYMBOL (__down_interruptible
);
60 EXPORT_SYMBOL (__down_trylock
);
64 * libgcc functions - functions that are used internally by the
65 * compiler... (prototypes are not correct though, but that
66 * doesn't really matter since they're not versioned).
68 extern void __ashldi3 (void);
69 extern void __ashrdi3 (void);
70 extern void __lshrdi3 (void);
71 extern void __muldi3 (void);
72 extern void __negdi2 (void);
74 EXPORT_SYMBOL (__ashldi3
);
75 EXPORT_SYMBOL (__ashrdi3
);
76 EXPORT_SYMBOL (__lshrdi3
);
77 EXPORT_SYMBOL (__muldi3
);
78 EXPORT_SYMBOL (__negdi2
);