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 LT |
14 | |
15 | #include <asm/checksum.h> | |
16 | EXPORT_SYMBOL(ip_fast_csum); /* hand-coded assembly */ | |
a5f8ee02 | 17 | EXPORT_SYMBOL(csum_ipv6_magic); |
1da177e4 LT |
18 | |
19 | #include <asm/semaphore.h> | |
20 | EXPORT_SYMBOL(__down); | |
21 | EXPORT_SYMBOL(__down_interruptible); | |
22 | EXPORT_SYMBOL(__down_trylock); | |
23 | EXPORT_SYMBOL(__up); | |
24 | ||
25 | #include <asm/page.h> | |
26 | EXPORT_SYMBOL(clear_page); | |
27 | ||
28 | #ifdef CONFIG_VIRTUAL_MEM_MAP | |
29 | #include <linux/bootmem.h> | |
b77dae52 | 30 | EXPORT_SYMBOL(min_low_pfn); /* defined by bootmem.c, but not exported by generic code */ |
1da177e4 LT |
31 | EXPORT_SYMBOL(max_low_pfn); /* defined by bootmem.c, but not exported by generic code */ |
32 | #endif | |
33 | ||
34 | #include <asm/processor.h> | |
35 | EXPORT_SYMBOL(per_cpu__cpu_info); | |
36 | #ifdef CONFIG_SMP | |
37 | EXPORT_SYMBOL(per_cpu__local_per_cpu_offset); | |
38 | #endif | |
39 | ||
40 | #include <asm/uaccess.h> | |
41 | EXPORT_SYMBOL(__copy_user); | |
42 | EXPORT_SYMBOL(__do_clear_user); | |
43 | EXPORT_SYMBOL(__strlen_user); | |
44 | EXPORT_SYMBOL(__strncpy_from_user); | |
45 | EXPORT_SYMBOL(__strnlen_user); | |
46 | ||
1da177e4 LT |
47 | /* from arch/ia64/lib */ |
48 | extern void __divsi3(void); | |
49 | extern void __udivsi3(void); | |
50 | extern void __modsi3(void); | |
51 | extern void __umodsi3(void); | |
52 | extern void __divdi3(void); | |
53 | extern void __udivdi3(void); | |
54 | extern void __moddi3(void); | |
55 | extern void __umoddi3(void); | |
56 | ||
57 | EXPORT_SYMBOL(__divsi3); | |
58 | EXPORT_SYMBOL(__udivsi3); | |
59 | EXPORT_SYMBOL(__modsi3); | |
60 | EXPORT_SYMBOL(__umodsi3); | |
61 | EXPORT_SYMBOL(__divdi3); | |
62 | EXPORT_SYMBOL(__udivdi3); | |
63 | EXPORT_SYMBOL(__moddi3); | |
64 | EXPORT_SYMBOL(__umoddi3); | |
65 | ||
bdc2619a AM |
66 | #include <asm/page.h> |
67 | EXPORT_SYMBOL(copy_page); | |
68 | ||
0a69ca91 | 69 | #if defined(CONFIG_MD_RAID456) || defined(CONFIG_MD_RAID456_MODULE) |
1da177e4 LT |
70 | extern void xor_ia64_2(void); |
71 | extern void xor_ia64_3(void); | |
72 | extern void xor_ia64_4(void); | |
73 | extern void xor_ia64_5(void); | |
74 | ||
75 | EXPORT_SYMBOL(xor_ia64_2); | |
76 | EXPORT_SYMBOL(xor_ia64_3); | |
77 | EXPORT_SYMBOL(xor_ia64_4); | |
78 | EXPORT_SYMBOL(xor_ia64_5); | |
79 | #endif | |
80 | ||
81 | #include <asm/pal.h> | |
82 | EXPORT_SYMBOL(ia64_pal_call_phys_stacked); | |
83 | EXPORT_SYMBOL(ia64_pal_call_phys_static); | |
84 | EXPORT_SYMBOL(ia64_pal_call_stacked); | |
85 | EXPORT_SYMBOL(ia64_pal_call_static); | |
86 | EXPORT_SYMBOL(ia64_load_scratch_fpregs); | |
87 | EXPORT_SYMBOL(ia64_save_scratch_fpregs); | |
88 | ||
89 | #include <asm/unwind.h> | |
90 | EXPORT_SYMBOL(unw_init_running); | |
91 | ||
92 | #ifdef ASM_SUPPORTED | |
93 | # ifdef CONFIG_SMP | |
a1365647 | 94 | # if (__GNUC__ == 3 && __GNUC_MINOR__ < 3) |
1da177e4 LT |
95 | /* |
96 | * This is not a normal routine and we don't want a function descriptor for it, so we use | |
97 | * a fake declaration here. | |
98 | */ | |
99 | extern char ia64_spinlock_contention_pre3_4; | |
100 | EXPORT_SYMBOL(ia64_spinlock_contention_pre3_4); | |
101 | # else | |
102 | /* | |
103 | * This is not a normal routine and we don't want a function descriptor for it, so we use | |
104 | * a fake declaration here. | |
105 | */ | |
106 | extern char ia64_spinlock_contention; | |
107 | EXPORT_SYMBOL(ia64_spinlock_contention); | |
108 | # endif | |
109 | # endif | |
110 | #endif | |
111 | ||
2ab561a1 DMT |
112 | #if defined(CONFIG_IA64_ESI) || defined(CONFIG_IA64_ESI_MODULE) |
113 | extern void esi_call_phys (void); | |
114 | EXPORT_SYMBOL_GPL(esi_call_phys); | |
115 | #endif | |
1da177e4 LT |
116 | extern char ia64_ivt[]; |
117 | EXPORT_SYMBOL(ia64_ivt); |