blob: 6bcfcfe88384b7d0a573f496d1f2afedd5e2f99e [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);
Linus Torvalds1da177e2005-04-16 15:20:36 -070046EXPORT_SYMBOL (strrchr);
47EXPORT_SYMBOL (strstr);
48EXPORT_SYMBOL (memset);
49EXPORT_SYMBOL (memcpy);
50EXPORT_SYMBOL (memmove);
51EXPORT_SYMBOL (memcmp);
52EXPORT_SYMBOL (memscan);
53
54/* semaphores */
55EXPORT_SYMBOL (__down);
56EXPORT_SYMBOL (__down_interruptible);
57EXPORT_SYMBOL (__down_trylock);
58EXPORT_SYMBOL (__up);
59
60/*
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).
64 */
65extern void __ashldi3 (void);
66extern void __ashrdi3 (void);
67extern void __lshrdi3 (void);
68extern void __muldi3 (void);
69extern void __negdi2 (void);
70
71EXPORT_SYMBOL (__ashldi3);
72EXPORT_SYMBOL (__ashrdi3);
73EXPORT_SYMBOL (__lshrdi3);
74EXPORT_SYMBOL (__muldi3);
75EXPORT_SYMBOL (__negdi2);