vserver 1.9.5.x5
[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 #include <linux/bitops.h>
25
26 #include <asm/page.h>
27 #include <asm/semaphore.h>
28 #include <asm/processor.h>
29 #include <asm/uaccess.h>
30 #include <asm/io.h>
31 #include <asm/atomic.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(__down);
71
72 EXPORT_SYMBOL(csum_partial);
73 EXPORT_SYMBOL(csum_partial_copy_generic);
74 EXPORT_SYMBOL(ip_fast_csum);
75 EXPORT_SYMBOL(csum_tcpudp_magic);
76
77 EXPORT_SYMBOL(__copy_tofrom_user);
78 EXPORT_SYMBOL(__clear_user);
79 EXPORT_SYMBOL(__strncpy_from_user);
80 EXPORT_SYMBOL(__strnlen_user);
81
82 EXPORT_SYMBOL(clear_user_page);
83
84 #ifdef CONFIG_MSCHUNKS
85 EXPORT_SYMBOL(msChunks);
86 #endif
87 EXPORT_SYMBOL(reloc_offset);
88
89 #ifdef CONFIG_PPC_ISERIES
90 EXPORT_SYMBOL(HvCall0);
91 EXPORT_SYMBOL(HvCall1);
92 EXPORT_SYMBOL(HvCall2);
93 EXPORT_SYMBOL(HvCall3);
94 EXPORT_SYMBOL(HvCall4);
95 EXPORT_SYMBOL(HvCall5);
96 EXPORT_SYMBOL(HvCall6);
97 EXPORT_SYMBOL(HvCall7);
98 #endif
99
100 EXPORT_SYMBOL(_insb);
101 EXPORT_SYMBOL(_outsb);
102 EXPORT_SYMBOL(_insw);
103 EXPORT_SYMBOL(_outsw);
104 EXPORT_SYMBOL(_insl);
105 EXPORT_SYMBOL(_outsl);
106 EXPORT_SYMBOL(_insw_ns);
107 EXPORT_SYMBOL(_outsw_ns);
108 EXPORT_SYMBOL(_insl_ns);
109 EXPORT_SYMBOL(_outsl_ns);
110 EXPORT_SYMBOL(ioremap);
111 EXPORT_SYMBOL(__ioremap);
112 EXPORT_SYMBOL(iounmap);
113
114 EXPORT_SYMBOL(start_thread);
115 EXPORT_SYMBOL(kernel_thread);
116
117 EXPORT_SYMBOL(giveup_fpu);
118 #ifdef CONFIG_ALTIVEC
119 EXPORT_SYMBOL(giveup_altivec);
120 #endif
121 EXPORT_SYMBOL(flush_icache_range);
122 EXPORT_SYMBOL(flush_icache_user_range);
123 EXPORT_SYMBOL(flush_dcache_page);
124 #ifdef CONFIG_SMP
125 #ifdef CONFIG_PPC_ISERIES
126 EXPORT_SYMBOL(local_get_flags);
127 EXPORT_SYMBOL(local_irq_disable);
128 EXPORT_SYMBOL(local_irq_restore);
129 #endif
130 #endif
131
132 EXPORT_SYMBOL(ppc_md);
133
134 #ifdef CONFIG_PPC_MULTIPLATFORM
135 EXPORT_SYMBOL(find_devices);
136 EXPORT_SYMBOL(find_type_devices);
137 EXPORT_SYMBOL(find_compatible_devices);
138 EXPORT_SYMBOL(find_path_device);
139 EXPORT_SYMBOL(device_is_compatible);
140 EXPORT_SYMBOL(machine_is_compatible);
141 EXPORT_SYMBOL(find_all_nodes);
142 EXPORT_SYMBOL(get_property);
143 #endif
144
145 EXPORT_SYMBOL(memcpy);
146 EXPORT_SYMBOL(memset);
147 EXPORT_SYMBOL(memmove);
148 EXPORT_SYMBOL(memscan);
149 EXPORT_SYMBOL(memcmp);
150 EXPORT_SYMBOL(memchr);
151
152 EXPORT_SYMBOL(timer_interrupt);
153 EXPORT_SYMBOL(irq_desc);
154 EXPORT_SYMBOL(get_wchan);
155 EXPORT_SYMBOL(console_drivers);
156
157 EXPORT_SYMBOL(tb_ticks_per_usec);
158 EXPORT_SYMBOL(paca);
159 EXPORT_SYMBOL(cur_cpu_spec);