2 * c 2001 PPC 64 Team, IBM Corp
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.
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>
26 #include <asm/semaphore.h>
27 #include <asm/processor.h>
28 #include <asm/uaccess.h>
30 #include <asm/atomic.h>
31 #include <asm/bitops.h>
32 #include <asm/checksum.h>
33 #include <asm/pgtable.h>
35 #include <asm/system.h>
36 #include <asm/pci-bridge.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>
48 extern int do_signal(sigset_t *, struct pt_regs *);
50 EXPORT_SYMBOL(do_signal);
52 EXPORT_SYMBOL(isa_io_base);
53 EXPORT_SYMBOL(pci_io_base);
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);
68 EXPORT_SYMBOL(__down_interruptible);
71 EXPORT_SYMBOL(__down);
72 #ifdef CONFIG_PPC_ISERIES
73 EXPORT_SYMBOL(itLpNaca);
76 EXPORT_SYMBOL(csum_partial);
77 EXPORT_SYMBOL(csum_partial_copy_generic);
78 EXPORT_SYMBOL(ip_fast_csum);
79 EXPORT_SYMBOL(csum_tcpudp_magic);
81 EXPORT_SYMBOL(__copy_tofrom_user);
82 EXPORT_SYMBOL(__clear_user);
83 EXPORT_SYMBOL(__strncpy_from_user);
84 EXPORT_SYMBOL(__strnlen_user);
86 EXPORT_SYMBOL(clear_user_page);
88 #ifdef CONFIG_MSCHUNKS
89 EXPORT_SYMBOL(msChunks);
91 EXPORT_SYMBOL(reloc_offset);
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);
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);
118 EXPORT_SYMBOL(start_thread);
119 EXPORT_SYMBOL(kernel_thread);
121 EXPORT_SYMBOL(flush_instruction_cache);
122 EXPORT_SYMBOL(giveup_fpu);
123 #ifdef CONFIG_ALTIVEC
124 EXPORT_SYMBOL(giveup_altivec);
126 EXPORT_SYMBOL(flush_icache_range);
127 EXPORT_SYMBOL(flush_icache_user_range);
128 EXPORT_SYMBOL(flush_dcache_page);
130 #ifdef CONFIG_PPC_ISERIES
131 EXPORT_SYMBOL(local_get_flags);
132 EXPORT_SYMBOL(local_irq_disable);
133 EXPORT_SYMBOL(local_irq_restore);
137 EXPORT_SYMBOL(ppc_md);
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);
150 EXPORT_SYMBOL(memcpy);
151 EXPORT_SYMBOL(memset);
152 EXPORT_SYMBOL(memmove);
153 EXPORT_SYMBOL(memscan);
154 EXPORT_SYMBOL(memcmp);
155 EXPORT_SYMBOL(memchr);
157 EXPORT_SYMBOL(timer_interrupt);
158 EXPORT_SYMBOL(irq_desc);
159 EXPORT_SYMBOL(get_wchan);
160 EXPORT_SYMBOL(console_drivers);
162 EXPORT_SYMBOL(tb_ticks_per_usec);
164 EXPORT_SYMBOL(cur_cpu_spec);
165 EXPORT_SYMBOL(systemcfg);