2 * Architecture-specific kernel symbols
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.
8 #include <linux/module.h>
10 #include <linux/string.h>
11 EXPORT_SYMBOL(memset);
12 EXPORT_SYMBOL(memcpy);
13 EXPORT_SYMBOL(strlen);
15 #include <asm/checksum.h>
16 EXPORT_SYMBOL(ip_fast_csum); /* hand-coded assembly */
18 #include <asm/semaphore.h>
19 EXPORT_SYMBOL(__down);
20 EXPORT_SYMBOL(__down_interruptible);
21 EXPORT_SYMBOL(__down_trylock);
25 EXPORT_SYMBOL(clear_page);
27 #ifdef CONFIG_VIRTUAL_MEM_MAP
28 #include <linux/bootmem.h>
29 EXPORT_SYMBOL(min_low_pfn); /* defined by bootmem.c, but not exported by generic code */
30 EXPORT_SYMBOL(max_low_pfn); /* defined by bootmem.c, but not exported by generic code */
33 #include <asm/processor.h>
34 EXPORT_SYMBOL(per_cpu__cpu_info);
36 EXPORT_SYMBOL(per_cpu__local_per_cpu_offset);
39 #include <asm/uaccess.h>
40 EXPORT_SYMBOL(__copy_user);
41 EXPORT_SYMBOL(__do_clear_user);
42 EXPORT_SYMBOL(__strlen_user);
43 EXPORT_SYMBOL(__strncpy_from_user);
44 EXPORT_SYMBOL(__strnlen_user);
46 /* from arch/ia64/lib */
47 extern void __divsi3(void);
48 extern void __udivsi3(void);
49 extern void __modsi3(void);
50 extern void __umodsi3(void);
51 extern void __divdi3(void);
52 extern void __udivdi3(void);
53 extern void __moddi3(void);
54 extern void __umoddi3(void);
56 EXPORT_SYMBOL(__divsi3);
57 EXPORT_SYMBOL(__udivsi3);
58 EXPORT_SYMBOL(__modsi3);
59 EXPORT_SYMBOL(__umodsi3);
60 EXPORT_SYMBOL(__divdi3);
61 EXPORT_SYMBOL(__udivdi3);
62 EXPORT_SYMBOL(__moddi3);
63 EXPORT_SYMBOL(__umoddi3);
65 #if defined(CONFIG_MD_RAID5) || defined(CONFIG_MD_RAID5_MODULE)
66 extern void xor_ia64_2(void);
67 extern void xor_ia64_3(void);
68 extern void xor_ia64_4(void);
69 extern void xor_ia64_5(void);
71 EXPORT_SYMBOL(xor_ia64_2);
72 EXPORT_SYMBOL(xor_ia64_3);
73 EXPORT_SYMBOL(xor_ia64_4);
74 EXPORT_SYMBOL(xor_ia64_5);
78 EXPORT_SYMBOL(ia64_pal_call_phys_stacked);
79 EXPORT_SYMBOL(ia64_pal_call_phys_static);
80 EXPORT_SYMBOL(ia64_pal_call_stacked);
81 EXPORT_SYMBOL(ia64_pal_call_static);
82 EXPORT_SYMBOL(ia64_load_scratch_fpregs);
83 EXPORT_SYMBOL(ia64_save_scratch_fpregs);
85 #include <asm/unwind.h>
86 EXPORT_SYMBOL(unw_init_running);
90 # if (__GNUC__ == 3 && __GNUC_MINOR__ < 3)
92 * This is not a normal routine and we don't want a function descriptor for it, so we use
93 * a fake declaration here.
95 extern char ia64_spinlock_contention_pre3_4;
96 EXPORT_SYMBOL(ia64_spinlock_contention_pre3_4);
99 * This is not a normal routine and we don't want a function descriptor for it, so we use
100 * a fake declaration here.
102 extern char ia64_spinlock_contention;
103 EXPORT_SYMBOL(ia64_spinlock_contention);
108 extern char ia64_ivt[];
109 EXPORT_SYMBOL(ia64_ivt);