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