aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68knommu/kernel/m68k_ksyms.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m68knommu/kernel/m68k_ksyms.c')
-rw-r--r--arch/m68knommu/kernel/m68k_ksyms.c104
1 files changed, 104 insertions, 0 deletions
diff --git a/arch/m68knommu/kernel/m68k_ksyms.c b/arch/m68knommu/kernel/m68k_ksyms.c
new file mode 100644
index 000000000000..e93a5ad56496
--- /dev/null
+++ b/arch/m68knommu/kernel/m68k_ksyms.c
@@ -0,0 +1,104 @@
1#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/setup.h>
13#include <asm/machdep.h>
14#include <asm/pgalloc.h>
15#include <asm/irq.h>
16#include <asm/io.h>
17#include <asm/semaphore.h>
18#include <asm/checksum.h>
19#include <asm/current.h>
20
21extern void dump_thread(struct pt_regs *, struct user *);
22extern int dump_fpu(struct pt_regs *, elf_fpregset_t *);
23
24/* platform dependent support */
25
26EXPORT_SYMBOL(__ioremap);
27EXPORT_SYMBOL(iounmap);
28EXPORT_SYMBOL(dump_fpu);
29EXPORT_SYMBOL(dump_thread);
30EXPORT_SYMBOL(strnlen);
31EXPORT_SYMBOL(strrchr);
32EXPORT_SYMBOL(strstr);
33EXPORT_SYMBOL(strchr);
34EXPORT_SYMBOL(strcat);
35EXPORT_SYMBOL(strlen);
36EXPORT_SYMBOL(strcmp);
37EXPORT_SYMBOL(strncmp);
38
39EXPORT_SYMBOL(ip_fast_csum);
40
41EXPORT_SYMBOL(mach_enable_irq);
42EXPORT_SYMBOL(mach_disable_irq);
43EXPORT_SYMBOL(kernel_thread);
44
45/* Networking helper routines. */
46EXPORT_SYMBOL(csum_partial_copy);
47
48/* The following are special because they're not called
49 explicitly (the C compiler generates them). Fortunately,
50 their interface isn't gonna change any time soon now, so
51 it's OK to leave it out of version control. */
52EXPORT_SYMBOL(memcpy);
53EXPORT_SYMBOL(memset);
54EXPORT_SYMBOL(memcmp);
55EXPORT_SYMBOL(memscan);
56EXPORT_SYMBOL(memmove);
57
58EXPORT_SYMBOL(__down_failed);
59EXPORT_SYMBOL(__down_failed_interruptible);
60EXPORT_SYMBOL(__down_failed_trylock);
61EXPORT_SYMBOL(__up_wakeup);
62
63EXPORT_SYMBOL(get_wchan);
64
65/*
66 * libgcc functions - functions that are used internally by the
67 * compiler... (prototypes are not correct though, but that
68 * doesn't really matter since they're not versioned).
69 */
70extern void __ashldi3(void);
71extern void __ashrdi3(void);
72extern void __divsi3(void);
73extern void __lshrdi3(void);
74extern void __modsi3(void);
75extern void __muldi3(void);
76extern void __mulsi3(void);
77extern void __udivsi3(void);
78extern void __umodsi3(void);
79
80 /* gcc lib functions */
81EXPORT_SYMBOL(__ashldi3);
82EXPORT_SYMBOL(__ashrdi3);
83EXPORT_SYMBOL(__divsi3);
84EXPORT_SYMBOL(__lshrdi3);
85EXPORT_SYMBOL(__modsi3);
86EXPORT_SYMBOL(__muldi3);
87EXPORT_SYMBOL(__mulsi3);
88EXPORT_SYMBOL(__udivsi3);
89EXPORT_SYMBOL(__umodsi3);
90
91EXPORT_SYMBOL(is_in_rom);
92
93#ifdef CONFIG_COLDFIRE
94extern unsigned int *dma_device_address;
95extern unsigned long dma_base_addr, _ramend;
96EXPORT_SYMBOL(dma_base_addr);
97EXPORT_SYMBOL(dma_device_address);
98EXPORT_SYMBOL(_ramend);
99
100extern asmlinkage void trap(void);
101extern void *_ramvec;
102EXPORT_SYMBOL(trap);
103EXPORT_SYMBOL(_ramvec);
104#endif /* CONFIG_COLDFIRE */