Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | /* |
2 | * Architecture-specific kernel symbols | |
3 | * | |
4 | * Don't put any exports here unless it's defined in an assembler file. | |
5 | * All other exports should be put directly after the definition. | |
6 | */ | |
7 | ||
1da177e4 LT |
8 | #include <linux/module.h> |
9 | ||
10 | #include <linux/string.h> | |
11 | EXPORT_SYMBOL(memset); | |
1da177e4 | 12 | EXPORT_SYMBOL(memcpy); |
1da177e4 | 13 | EXPORT_SYMBOL(strlen); |
1da177e4 | 14 | |
6ac7d115 | 15 | #include <asm/pgtable.h> |
a7d57ecf ZX |
16 | EXPORT_SYMBOL_GPL(empty_zero_page); |
17 | ||
1da177e4 LT |
18 | #include <asm/checksum.h> |
19 | EXPORT_SYMBOL(ip_fast_csum); /* hand-coded assembly */ | |
a5f8ee02 | 20 | EXPORT_SYMBOL(csum_ipv6_magic); |
1da177e4 | 21 | |
1da177e4 LT |
22 | #include <asm/page.h> |
23 | EXPORT_SYMBOL(clear_page); | |
cfa5f809 | 24 | EXPORT_SYMBOL(copy_page); |
1da177e4 LT |
25 | |
26 | #ifdef CONFIG_VIRTUAL_MEM_MAP | |
27 | #include <linux/bootmem.h> | |
b77dae52 | 28 | EXPORT_SYMBOL(min_low_pfn); /* defined by bootmem.c, but not exported by generic code */ |
1da177e4 LT |
29 | EXPORT_SYMBOL(max_low_pfn); /* defined by bootmem.c, but not exported by generic code */ |
30 | #endif | |
31 | ||
32 | #include <asm/processor.h> | |
dd17c8f7 | 33 | EXPORT_SYMBOL(ia64_cpu_info); |
1da177e4 | 34 | #ifdef CONFIG_SMP |
dd17c8f7 | 35 | EXPORT_SYMBOL(local_per_cpu_offset); |
1da177e4 LT |
36 | #endif |
37 | ||
38 | #include <asm/uaccess.h> | |
39 | EXPORT_SYMBOL(__copy_user); | |
40 | EXPORT_SYMBOL(__do_clear_user); | |
41 | EXPORT_SYMBOL(__strlen_user); | |
42 | EXPORT_SYMBOL(__strncpy_from_user); | |
43 | EXPORT_SYMBOL(__strnlen_user); | |
44 | ||
1da177e4 LT |
45 | /* from arch/ia64/lib */ |
46 | extern void __divsi3(void); | |
47 | extern void __udivsi3(void); | |
48 | extern void __modsi3(void); | |
49 | extern void __umodsi3(void); | |
50 | extern void __divdi3(void); | |
51 | extern void __udivdi3(void); | |
52 | extern void __moddi3(void); | |
53 | extern void __umoddi3(void); | |
54 | ||
55 | EXPORT_SYMBOL(__divsi3); | |
56 | EXPORT_SYMBOL(__udivsi3); | |
57 | EXPORT_SYMBOL(__modsi3); | |
58 | EXPORT_SYMBOL(__umodsi3); | |
59 | EXPORT_SYMBOL(__divdi3); | |
60 | EXPORT_SYMBOL(__udivdi3); | |
61 | EXPORT_SYMBOL(__moddi3); | |
62 | EXPORT_SYMBOL(__umoddi3); | |
63 | ||
0a69ca91 | 64 | #if defined(CONFIG_MD_RAID456) || defined(CONFIG_MD_RAID456_MODULE) |
1da177e4 LT |
65 | extern void xor_ia64_2(void); |
66 | extern void xor_ia64_3(void); | |
67 | extern void xor_ia64_4(void); | |
68 | extern void xor_ia64_5(void); | |
69 | ||
70 | EXPORT_SYMBOL(xor_ia64_2); | |
71 | EXPORT_SYMBOL(xor_ia64_3); | |
72 | EXPORT_SYMBOL(xor_ia64_4); | |
73 | EXPORT_SYMBOL(xor_ia64_5); | |
74 | #endif | |
75 | ||
76 | #include <asm/pal.h> | |
77 | EXPORT_SYMBOL(ia64_pal_call_phys_stacked); | |
78 | EXPORT_SYMBOL(ia64_pal_call_phys_static); | |
79 | EXPORT_SYMBOL(ia64_pal_call_stacked); | |
80 | EXPORT_SYMBOL(ia64_pal_call_static); | |
81 | EXPORT_SYMBOL(ia64_load_scratch_fpregs); | |
82 | EXPORT_SYMBOL(ia64_save_scratch_fpregs); | |
83 | ||
84 | #include <asm/unwind.h> | |
85 | EXPORT_SYMBOL(unw_init_running); | |
86 | ||
2ab561a1 DMT |
87 | #if defined(CONFIG_IA64_ESI) || defined(CONFIG_IA64_ESI_MODULE) |
88 | extern void esi_call_phys (void); | |
89 | EXPORT_SYMBOL_GPL(esi_call_phys); | |
90 | #endif | |
1da177e4 LT |
91 | extern char ia64_ivt[]; |
92 | EXPORT_SYMBOL(ia64_ivt); | |
d3e75ff1 SL |
93 | |
94 | #include <asm/ftrace.h> | |
95 | #ifdef CONFIG_FUNCTION_TRACER | |
96 | /* mcount is defined in assembly */ | |
97 | EXPORT_SYMBOL(_mcount); | |
98 | #endif | |
511beeb5 LR |
99 | |
100 | #include <asm/cacheflush.h> | |
101 | EXPORT_SYMBOL_GPL(flush_icache_range); |