Merge wailua.hpl.hp.com:/bk/vanilla/linux-2.5
[opensuse:kernel.git] / arch / ia64 / kernel / ia64_ksyms.c
1 /*
2  * Architecture-specific kernel symbols
3  */
4
5 #include <linux/config.h>
6 #include <linux/module.h>
7
8 #include <linux/string.h>
9 EXPORT_SYMBOL_NOVERS(memset);
10 EXPORT_SYMBOL(memchr);
11 EXPORT_SYMBOL(memcmp);
12 EXPORT_SYMBOL_NOVERS(memcpy);
13 EXPORT_SYMBOL(memmove);
14 EXPORT_SYMBOL(memscan);
15 EXPORT_SYMBOL(strcat);
16 EXPORT_SYMBOL(strchr);
17 EXPORT_SYMBOL(strcmp);
18 EXPORT_SYMBOL(strcpy);
19 EXPORT_SYMBOL(strlen);
20 EXPORT_SYMBOL(strncat);
21 EXPORT_SYMBOL(strncmp);
22 EXPORT_SYMBOL(strncpy);
23 EXPORT_SYMBOL(strnlen);
24 EXPORT_SYMBOL(strrchr);
25 EXPORT_SYMBOL(strstr);
26 EXPORT_SYMBOL(strpbrk);
27
28 #include <linux/irq.h>
29 EXPORT_SYMBOL(isa_irq_to_vector_map);
30 EXPORT_SYMBOL(enable_irq);
31 EXPORT_SYMBOL(disable_irq);
32 EXPORT_SYMBOL(disable_irq_nosync);
33
34 #include <linux/interrupt.h>
35 EXPORT_SYMBOL(probe_irq_mask);
36
37 #include <linux/in6.h>
38 #include <asm/checksum.h>
39 /* not coded yet?? EXPORT_SYMBOL(csum_ipv6_magic); */
40 EXPORT_SYMBOL(csum_partial_copy_nocheck);
41 EXPORT_SYMBOL(csum_tcpudp_magic);
42 EXPORT_SYMBOL(ip_compute_csum);
43 EXPORT_SYMBOL(ip_fast_csum);
44
45 #include <asm/io.h>
46 EXPORT_SYMBOL(__ia64_memcpy_fromio);
47 EXPORT_SYMBOL(__ia64_memcpy_toio);
48 EXPORT_SYMBOL(__ia64_memset_c_io);
49
50 #include <asm/semaphore.h>
51 EXPORT_SYMBOL_NOVERS(__down);
52 EXPORT_SYMBOL_NOVERS(__down_interruptible);
53 EXPORT_SYMBOL_NOVERS(__down_trylock);
54 EXPORT_SYMBOL_NOVERS(__up);
55
56 #include <asm/page.h>
57 EXPORT_SYMBOL(clear_page);
58
59 #include <asm/processor.h>
60 # ifndef CONFIG_NUMA
61 EXPORT_SYMBOL(cpu_info);
62 # endif
63 EXPORT_SYMBOL(kernel_thread);
64
65 #include <asm/system.h>
66 #ifdef CONFIG_IA64_DEBUG_IRQ
67 EXPORT_SYMBOL(last_cli_ip);
68 #endif
69
70 #include <asm/pgalloc.h>
71
72 EXPORT_SYMBOL(flush_tlb_range);
73
74 #ifdef CONFIG_SMP
75
76 EXPORT_SYMBOL(smp_flush_tlb_all);
77
78 #include <asm/current.h>
79 #include <asm/hardirq.h>
80 EXPORT_SYMBOL(synchronize_irq);
81
82 #include <asm/smp.h>
83 EXPORT_SYMBOL(smp_call_function);
84 EXPORT_SYMBOL(smp_call_function_single);
85 EXPORT_SYMBOL(cpu_online_map);
86 EXPORT_SYMBOL(ia64_cpu_to_sapicid);
87
88 #include <linux/smp.h>
89 EXPORT_SYMBOL(smp_num_cpus);
90
91 #include <asm/smplock.h>
92 EXPORT_SYMBOL(kernel_flag);
93
94 /* #include <asm/system.h> */
95 EXPORT_SYMBOL(__global_sti);
96 EXPORT_SYMBOL(__global_cli);
97 EXPORT_SYMBOL(__global_save_flags);
98 EXPORT_SYMBOL(__global_restore_flags);
99
100 #else /* !CONFIG_SMP */
101
102 EXPORT_SYMBOL(__flush_tlb_all);
103
104 #endif /* !CONFIG_SMP */
105
106 #include <asm/uaccess.h>
107 EXPORT_SYMBOL(__copy_user);
108 EXPORT_SYMBOL(__do_clear_user);
109 EXPORT_SYMBOL(__strlen_user);
110 EXPORT_SYMBOL(__strncpy_from_user);
111 EXPORT_SYMBOL(__strnlen_user);
112
113 #include <asm/unistd.h>
114 EXPORT_SYMBOL(__ia64_syscall);
115
116 /* from arch/ia64/lib */
117 extern void __divsi3(void);
118 extern void __udivsi3(void);
119 extern void __modsi3(void);
120 extern void __umodsi3(void);
121 extern void __divdi3(void);
122 extern void __udivdi3(void);
123 extern void __moddi3(void);
124 extern void __umoddi3(void);
125
126 EXPORT_SYMBOL_NOVERS(__divsi3);
127 EXPORT_SYMBOL_NOVERS(__udivsi3);
128 EXPORT_SYMBOL_NOVERS(__modsi3);
129 EXPORT_SYMBOL_NOVERS(__umodsi3);
130 EXPORT_SYMBOL_NOVERS(__divdi3);
131 EXPORT_SYMBOL_NOVERS(__udivdi3);
132 EXPORT_SYMBOL_NOVERS(__moddi3);
133 EXPORT_SYMBOL_NOVERS(__umoddi3);
134
135 extern unsigned long ia64_iobase;
136 EXPORT_SYMBOL(ia64_iobase);
137
138 #include <asm/pal.h>
139 EXPORT_SYMBOL(ia64_pal_call_phys_stacked);
140 EXPORT_SYMBOL(ia64_pal_call_phys_static);
141 EXPORT_SYMBOL(ia64_pal_call_stacked);
142 EXPORT_SYMBOL(ia64_pal_call_static);
143
144 extern struct efi efi;
145 EXPORT_SYMBOL(efi);
146
147 #include <linux/proc_fs.h>
148 extern struct proc_dir_entry *efi_dir;
149 EXPORT_SYMBOL(efi_dir);
150
151 #include <asm/machvec.h>
152 #ifdef CONFIG_IA64_GENERIC
153 EXPORT_SYMBOL(ia64_mv);
154 #endif
155 EXPORT_SYMBOL(machvec_noop);
156