blob: 8ffc29c1c89df749f71e0d3954e01642ede3770d [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#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>
10#include <linux/config.h>
11
12#include <asm/pgalloc.h>
13#include <asm/irq.h>
14#include <asm/io.h>
15#include <asm/semaphore.h>
16#include <asm/checksum.h>
17#include <asm/current.h>
18
19
20extern void *trap_table;
21EXPORT_SYMBOL (trap_table);
22
23/* platform dependent support */
Linus Torvalds1da177e2005-04-16 15:20:36 -070024EXPORT_SYMBOL (kernel_thread);
25EXPORT_SYMBOL (enable_irq);
26EXPORT_SYMBOL (disable_irq);
27EXPORT_SYMBOL (disable_irq_nosync);
28EXPORT_SYMBOL (__bug);
29
30/* Networking helper routines. */
31EXPORT_SYMBOL (csum_partial_copy);
32EXPORT_SYMBOL (csum_partial_copy_from_user);
33EXPORT_SYMBOL (ip_compute_csum);
34EXPORT_SYMBOL (ip_fast_csum);
35
36/* string / mem functions */
37EXPORT_SYMBOL (strcpy);
38EXPORT_SYMBOL (strncpy);
39EXPORT_SYMBOL (strcat);
40EXPORT_SYMBOL (strncat);
41EXPORT_SYMBOL (strcmp);
42EXPORT_SYMBOL (strncmp);
43EXPORT_SYMBOL (strchr);
44EXPORT_SYMBOL (strlen);
45EXPORT_SYMBOL (strnlen);
46EXPORT_SYMBOL (strpbrk);
47EXPORT_SYMBOL (strrchr);
48EXPORT_SYMBOL (strstr);
49EXPORT_SYMBOL (memset);
50EXPORT_SYMBOL (memcpy);
51EXPORT_SYMBOL (memmove);
52EXPORT_SYMBOL (memcmp);
53EXPORT_SYMBOL (memscan);
54
55/* semaphores */
56EXPORT_SYMBOL (__down);
57EXPORT_SYMBOL (__down_interruptible);
58EXPORT_SYMBOL (__down_trylock);
59EXPORT_SYMBOL (__up);
60
61/*
62 * libgcc functions - functions that are used internally by the
63 * compiler... (prototypes are not correct though, but that
64 * doesn't really matter since they're not versioned).
65 */
66extern void __ashldi3 (void);
67extern void __ashrdi3 (void);
68extern void __lshrdi3 (void);
69extern void __muldi3 (void);
70extern void __negdi2 (void);
71
72EXPORT_SYMBOL (__ashldi3);
73EXPORT_SYMBOL (__ashrdi3);
74EXPORT_SYMBOL (__lshrdi3);
75EXPORT_SYMBOL (__muldi3);
76EXPORT_SYMBOL (__negdi2);