ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[linux-2.6.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 #ifdef CONFIG_PPC_ISERIES
44 #include <asm/iSeries/HvCallSc.h>
45 #include <asm/iSeries/LparData.h>
46 #endif
47
48 extern int do_signal(sigset_t *, struct pt_regs *);
49
50 int abs(int);
51
52 EXPORT_SYMBOL(do_signal);
53 EXPORT_SYMBOL(sys_ioctl);
54
55 EXPORT_SYMBOL(isa_io_base);
56 EXPORT_SYMBOL(pci_io_base);
57
58 EXPORT_SYMBOL(strcpy);
59 EXPORT_SYMBOL(strncpy);
60 EXPORT_SYMBOL(strcat);
61 EXPORT_SYMBOL(strncat);
62 EXPORT_SYMBOL(strchr);
63 EXPORT_SYMBOL(strrchr);
64 EXPORT_SYMBOL(strpbrk);
65 EXPORT_SYMBOL(strstr);
66 EXPORT_SYMBOL(strlen);
67 EXPORT_SYMBOL(strnlen);
68 EXPORT_SYMBOL(strcmp);
69 EXPORT_SYMBOL(strncmp);
70
71 EXPORT_SYMBOL(__down_interruptible);
72 EXPORT_SYMBOL(__up);
73 EXPORT_SYMBOL(naca);
74 EXPORT_SYMBOL(__down);
75 #ifdef CONFIG_PPC_ISERIES
76 EXPORT_SYMBOL(itLpNaca);
77 #endif
78
79 EXPORT_SYMBOL(csum_partial);
80 EXPORT_SYMBOL(csum_partial_copy_generic);
81 EXPORT_SYMBOL(ip_fast_csum);
82 EXPORT_SYMBOL(csum_tcpudp_magic);
83
84 EXPORT_SYMBOL(__copy_tofrom_user);
85 EXPORT_SYMBOL(__clear_user);
86 EXPORT_SYMBOL(__strncpy_from_user);
87 EXPORT_SYMBOL(__strnlen_user);
88
89 EXPORT_SYMBOL(clear_user_page);
90
91 #ifdef CONFIG_MSCHUNKS
92 EXPORT_SYMBOL(msChunks);
93 #endif
94 EXPORT_SYMBOL(reloc_offset);
95
96 #ifdef CONFIG_PPC_ISERIES
97 EXPORT_SYMBOL(HvCall0);
98 EXPORT_SYMBOL(HvCall1);
99 EXPORT_SYMBOL(HvCall2);
100 EXPORT_SYMBOL(HvCall3);
101 EXPORT_SYMBOL(HvCall4);
102 EXPORT_SYMBOL(HvCall5);
103 EXPORT_SYMBOL(HvCall6);
104 EXPORT_SYMBOL(HvCall7);
105 #endif
106
107 EXPORT_SYMBOL(_insb);
108 EXPORT_SYMBOL(_outsb);
109 EXPORT_SYMBOL(_insw);
110 EXPORT_SYMBOL(_outsw);
111 EXPORT_SYMBOL(_insl);
112 EXPORT_SYMBOL(_outsl);
113 EXPORT_SYMBOL(_insw_ns);
114 EXPORT_SYMBOL(_outsw_ns);
115 EXPORT_SYMBOL(_insl_ns);
116 EXPORT_SYMBOL(_outsl_ns);
117 EXPORT_SYMBOL(ioremap);
118 EXPORT_SYMBOL(__ioremap);
119 EXPORT_SYMBOL(iounmap);
120
121 EXPORT_SYMBOL(start_thread);
122 EXPORT_SYMBOL(kernel_thread);
123
124 EXPORT_SYMBOL(flush_instruction_cache);
125 EXPORT_SYMBOL(_get_PVR);
126 EXPORT_SYMBOL(giveup_fpu);
127 #ifdef CONFIG_ALTIVEC
128 EXPORT_SYMBOL(giveup_altivec);
129 #endif
130 EXPORT_SYMBOL(flush_icache_range);
131 EXPORT_SYMBOL(flush_icache_user_range);
132 EXPORT_SYMBOL(flush_dcache_page);
133 #ifdef CONFIG_SMP
134 #ifdef CONFIG_PPC_ISERIES
135 EXPORT_SYMBOL(local_get_flags);
136 EXPORT_SYMBOL(local_irq_disable);
137 EXPORT_SYMBOL(local_irq_restore);
138 #endif
139 #endif
140
141 EXPORT_SYMBOL(ppc_md);
142
143 #ifdef CONFIG_PPC_PSERIES
144 EXPORT_SYMBOL(find_devices);
145 EXPORT_SYMBOL(find_type_devices);
146 EXPORT_SYMBOL(find_compatible_devices);
147 EXPORT_SYMBOL(find_path_device);
148 EXPORT_SYMBOL(device_is_compatible);
149 EXPORT_SYMBOL(machine_is_compatible);
150 EXPORT_SYMBOL(find_all_nodes);
151 EXPORT_SYMBOL(get_property);
152 #endif
153
154 EXPORT_SYMBOL_NOVERS(memcpy);
155 EXPORT_SYMBOL_NOVERS(memset);
156 EXPORT_SYMBOL_NOVERS(memmove);
157 EXPORT_SYMBOL_NOVERS(memscan);
158 EXPORT_SYMBOL_NOVERS(memcmp);
159 EXPORT_SYMBOL_NOVERS(memchr);
160
161 EXPORT_SYMBOL(abs);
162
163 EXPORT_SYMBOL(timer_interrupt);
164 EXPORT_SYMBOL(irq_desc);
165 EXPORT_SYMBOL(get_wchan);
166 EXPORT_SYMBOL(console_drivers);
167
168 EXPORT_SYMBOL(tb_ticks_per_usec);
169 EXPORT_SYMBOL(paca);
170 EXPORT_SYMBOL(cur_cpu_spec);
171 EXPORT_SYMBOL(systemcfg);