+- update patches.fixes/linux-post-2.6.4rc1-20040302
[linux-flexiantxendom0-3.2.10.git] / arch / ppc64 / kernel / ppc_ksyms.c
1 /* 
2  * c 2001 PPC 64 Team, IBM Corp
3  *
4  *      This program is free software; you can redistribute it and/or
5  *      modify it under the terms of the GNU General Public License
6  *      as published by the Free Software Foundation; either version
7  *      2 of the License, or (at your option) any later version.
8  */
9 #include <linux/config.h>
10 #include <linux/module.h>
11 #include <linux/threads.h>
12 #include <linux/smp.h>
13 #include <linux/elfcore.h>
14 #include <linux/sched.h>
15 #include <linux/string.h>
16 #include <linux/interrupt.h>
17 #include <linux/spinlock.h>
18 #include <linux/console.h>
19 #include <linux/irq.h>
20 #include <linux/pci.h>
21 #include <linux/delay.h>
22 #include <linux/smp_lock.h>
23 #include <linux/syscalls.h>
24
25 #include <asm/page.h>
26 #include <asm/semaphore.h>
27 #include <asm/processor.h>
28 #include <asm/uaccess.h>
29 #include <asm/io.h>
30 #include <asm/atomic.h>
31 #include <asm/bitops.h>
32 #include <asm/checksum.h>
33 #include <asm/pgtable.h>
34 #include <asm/prom.h>
35 #include <asm/system.h>
36 #include <asm/pci-bridge.h>
37 #include <asm/irq.h>
38 #include <asm/dma.h>
39 #include <asm/machdep.h>
40 #include <asm/hw_irq.h>
41 #include <asm/abs_addr.h>
42 #include <asm/cacheflush.h>
43 #include <asm/proc_fs.h>
44 #ifdef CONFIG_PPC_ISERIES
45 #include <asm/iSeries/iSeries_pci.h>
46 #include <asm/iSeries/iSeries_proc.h>
47 #include <asm/iSeries/mf.h>
48 #include <asm/iSeries/HvLpEvent.h>
49 #include <asm/iSeries/HvLpConfig.h>
50 #endif
51
52 extern int do_signal(sigset_t *, struct pt_regs *);
53
54 int abs(int);
55
56 EXPORT_SYMBOL(do_signal);
57 EXPORT_SYMBOL(sys_ioctl);
58
59 EXPORT_SYMBOL(isa_io_base);
60 EXPORT_SYMBOL(pci_io_base);
61
62 EXPORT_SYMBOL(find_next_zero_bit);
63 EXPORT_SYMBOL(find_next_zero_le_bit);
64
65 EXPORT_SYMBOL(strcpy);
66 EXPORT_SYMBOL(strncpy);
67 EXPORT_SYMBOL(strcat);
68 EXPORT_SYMBOL(strncat);
69 EXPORT_SYMBOL(strchr);
70 EXPORT_SYMBOL(strrchr);
71 EXPORT_SYMBOL(strpbrk);
72 EXPORT_SYMBOL(strstr);
73 EXPORT_SYMBOL(strlen);
74 EXPORT_SYMBOL(strnlen);
75 EXPORT_SYMBOL(strcmp);
76 EXPORT_SYMBOL(strncmp);
77
78 EXPORT_SYMBOL(__down_interruptible);
79 EXPORT_SYMBOL(__up);
80 EXPORT_SYMBOL(naca);
81 EXPORT_SYMBOL(__down);
82
83 EXPORT_SYMBOL(csum_partial);
84 EXPORT_SYMBOL(csum_partial_copy_generic);
85 EXPORT_SYMBOL(ip_fast_csum);
86 EXPORT_SYMBOL(csum_tcpudp_magic);
87
88 EXPORT_SYMBOL(__copy_tofrom_user);
89 EXPORT_SYMBOL(__clear_user);
90 EXPORT_SYMBOL(__strncpy_from_user);
91 EXPORT_SYMBOL(__strnlen_user);
92
93 EXPORT_SYMBOL(clear_user_page);
94
95 #ifdef CONFIG_MSCHUNKS
96 EXPORT_SYMBOL(msChunks);
97 #endif
98 EXPORT_SYMBOL(reloc_offset);
99
100 #ifdef CONFIG_PPC_ISERIES
101 EXPORT_SYMBOL(iSeries_proc_callback);
102 EXPORT_SYMBOL(HvCall0);
103 EXPORT_SYMBOL(HvCall1);
104 EXPORT_SYMBOL(HvCall2);
105 EXPORT_SYMBOL(HvCall3);
106 EXPORT_SYMBOL(HvCall4);
107 EXPORT_SYMBOL(HvCall5);
108 EXPORT_SYMBOL(HvCall6);
109 EXPORT_SYMBOL(HvCall7);
110 EXPORT_SYMBOL(HvLpEvent_unregisterHandler);
111 EXPORT_SYMBOL(HvLpEvent_registerHandler);
112 EXPORT_SYMBOL(mf_allocateLpEvents);
113 EXPORT_SYMBOL(mf_deallocateLpEvents);
114 EXPORT_SYMBOL(HvLpConfig_getLpIndex_outline);
115 #endif
116
117 EXPORT_SYMBOL(_insb);
118 EXPORT_SYMBOL(_outsb);
119 EXPORT_SYMBOL(_insw);
120 EXPORT_SYMBOL(_outsw);
121 EXPORT_SYMBOL(_insl);
122 EXPORT_SYMBOL(_outsl);
123 EXPORT_SYMBOL(_insw_ns);
124 EXPORT_SYMBOL(_outsw_ns);
125 EXPORT_SYMBOL(_insl_ns);
126 EXPORT_SYMBOL(_outsl_ns);
127 EXPORT_SYMBOL(ioremap);
128 EXPORT_SYMBOL(__ioremap);
129 EXPORT_SYMBOL(iounmap);
130
131 #ifdef CONFIG_PCI
132 EXPORT_SYMBOL(pci_alloc_consistent);
133 EXPORT_SYMBOL(pci_free_consistent);
134 EXPORT_SYMBOL(pci_map_single);
135 EXPORT_SYMBOL(pci_unmap_single);
136 EXPORT_SYMBOL(pci_map_sg);
137 EXPORT_SYMBOL(pci_unmap_sg);
138 #ifdef CONFIG_PPC_ISERIES
139 EXPORT_SYMBOL(iSeries_GetLocationData);
140 EXPORT_SYMBOL(iSeries_Device_ToggleReset);
141 EXPORT_SYMBOL(iSeries_memset_io);
142 EXPORT_SYMBOL(iSeries_memcpy_toio);
143 EXPORT_SYMBOL(iSeries_memcpy_fromio);
144 EXPORT_SYMBOL(iSeries_Read_Byte);
145 EXPORT_SYMBOL(iSeries_Read_Word);
146 EXPORT_SYMBOL(iSeries_Read_Long);
147 EXPORT_SYMBOL(iSeries_Write_Byte);
148 EXPORT_SYMBOL(iSeries_Write_Word);
149 EXPORT_SYMBOL(iSeries_Write_Long);
150 #endif /* CONFIG_PPC_ISERIES */
151 #endif /* CONFIG_PCI */
152
153 EXPORT_SYMBOL(start_thread);
154 EXPORT_SYMBOL(kernel_thread);
155
156 EXPORT_SYMBOL(flush_instruction_cache);
157 EXPORT_SYMBOL(_get_PVR);
158 EXPORT_SYMBOL(giveup_fpu);
159 #ifdef CONFIG_ALTIVEC
160 EXPORT_SYMBOL(giveup_altivec);
161 #endif
162 EXPORT_SYMBOL(flush_icache_range);
163 EXPORT_SYMBOL(flush_icache_user_range);
164 EXPORT_SYMBOL(flush_dcache_page);
165 #ifdef CONFIG_SMP
166 #ifdef CONFIG_PPC_ISERIES
167 EXPORT_SYMBOL(local_get_flags);
168 EXPORT_SYMBOL(local_irq_disable);
169 EXPORT_SYMBOL(local_irq_restore);
170 #endif
171 #endif
172
173 EXPORT_SYMBOL(ppc_md);
174
175 #ifdef CONFIG_PPC_PSERIES
176 EXPORT_SYMBOL(find_devices);
177 EXPORT_SYMBOL(find_type_devices);
178 EXPORT_SYMBOL(find_compatible_devices);
179 EXPORT_SYMBOL(find_path_device);
180 EXPORT_SYMBOL(device_is_compatible);
181 EXPORT_SYMBOL(machine_is_compatible);
182 EXPORT_SYMBOL(find_all_nodes);
183 EXPORT_SYMBOL(get_property);
184 #endif
185
186 EXPORT_SYMBOL_NOVERS(memcpy);
187 EXPORT_SYMBOL_NOVERS(memset);
188 EXPORT_SYMBOL_NOVERS(memmove);
189 EXPORT_SYMBOL_NOVERS(memscan);
190 EXPORT_SYMBOL_NOVERS(memcmp);
191 EXPORT_SYMBOL_NOVERS(memchr);
192
193 EXPORT_SYMBOL(abs);
194
195 EXPORT_SYMBOL(timer_interrupt);
196 EXPORT_SYMBOL(irq_desc);
197 EXPORT_SYMBOL(get_wchan);
198 EXPORT_SYMBOL(console_drivers);
199
200 EXPORT_SYMBOL(tb_ticks_per_usec);
201 EXPORT_SYMBOL(paca);
202 EXPORT_SYMBOL(proc_ppc64);
203 EXPORT_SYMBOL(cur_cpu_spec);
204 EXPORT_SYMBOL(systemcfg);