This source file includes following definitions.
- arch_syms_export
1 #include <linux/config.h>
2 #include <linux/module.h>
3 #include <linux/linkage.h>
4 #include <linux/string.h>
5 #include <linux/mm.h>
6
7 #include <asm/bootinfo.h>
8 #include <asm/pgtable.h>
9
10 asmlinkage long long __ashrdi3 (long long, int);
11 extern char m68k_debug_device[];
12
13 #ifdef CONFIG_ATARI
14 extern void mach_atari_syms_export (void);
15 #endif
16 #ifdef CONFIG_AMIGA
17 extern void mach_amiga_syms_export (void);
18 #endif
19 #ifdef CONFIG_MAC
20 extern void mach_mac_syms_export (void);
21 #endif
22
23 static struct symbol_table arch_symbol_table = {
24 #include <linux/symtab_begin.h>
25
26
27 X(memcmp),
28 X(boot_info),
29 X(m68k_is040or060),
30 X(cache_push),
31 X(cache_clear),
32 X(mm_vtop),
33 X(mm_ptov),
34 X(m68k_debug_device),
35
36
37
38
39
40 XNOVERS(__ashrdi3),
41 XNOVERS(memcpy),
42
43 #include <linux/symtab_end.h>
44 };
45
46 void arch_syms_export(void)
47 {
48 register_symtab(&arch_symbol_table);
49
50 switch (boot_info.machtype) {
51 #ifdef CONFIG_ATARI
52 case MACH_ATARI:
53 mach_atari_syms_export();
54 break;
55 #endif
56 #ifdef CONFIG_AMIGA
57 case MACH_AMIGA:
58 mach_amiga_syms_export();
59 break;
60 #endif
61 #ifdef CONFIG_MAC
62 case MACH_MAC:
63 mach_mac_syms_export();
64 break;
65 #endif
66 default:
67 break;
68 }
69 }