Import 2.3.13
[davej-history.git] / arch / ppc / kernel / ppc_ksyms.c
blobf2008adfdd6ce77e3c420f4d05e6016caa439777
1 #include <linux/config.h>
2 #include <linux/module.h>
3 #include <linux/smp.h>
4 #include <linux/elfcore.h>
5 #include <linux/sched.h>
6 #include <linux/string.h>
7 #include <linux/interrupt.h>
8 #include <linux/vt_kern.h>
9 #include <linux/nvram.h>
11 #include <asm/page.h>
12 #include <asm/semaphore.h>
13 #include <asm/processor.h>
14 #include <asm/uaccess.h>
15 #include <asm/io.h>
16 #include <linux/ide.h>
17 #include <asm/ide.h>
18 #include <asm/atomic.h>
19 #include <asm/bitops.h>
20 #include <asm/checksum.h>
21 #include <asm/pgtable.h>
22 #include <asm/adb.h>
23 #include <asm/cuda.h>
24 #include <asm/pmu.h>
25 #include <asm/prom.h>
26 #include <asm/system.h>
27 #include <asm/pci-bridge.h>
28 #include <asm/irq.h>
29 #include <asm/feature.h>
30 #include <asm/spinlock.h>
31 #include <asm/dma.h>
32 #include <asm/machdep.h>
34 /* Tell string.h we don't want memcpy etc. as cpp defines */
35 #define EXPORT_SYMTAB_STROPS
37 extern void transfer_to_handler(void);
38 extern void int_return(void);
39 extern void syscall_trace(void);
40 extern void do_IRQ(struct pt_regs *regs, int isfake);
41 extern void MachineCheckException(struct pt_regs *regs);
42 extern void AlignmentException(struct pt_regs *regs);
43 extern void ProgramCheckException(struct pt_regs *regs);
44 extern void SingleStepException(struct pt_regs *regs);
45 extern int sys_sigreturn(struct pt_regs *regs);
46 extern atomic_t ppc_n_lost_interrupts;
47 extern void do_lost_interrupts(unsigned long);
48 extern int do_signal(sigset_t *, struct pt_regs *);
50 asmlinkage int abs(int);
52 EXPORT_SYMBOL(clear_page);
53 EXPORT_SYMBOL(do_signal);
54 EXPORT_SYMBOL(syscall_trace);
55 EXPORT_SYMBOL(transfer_to_handler);
56 EXPORT_SYMBOL(int_return);
57 EXPORT_SYMBOL(do_IRQ);
58 EXPORT_SYMBOL(init_task_union);
59 EXPORT_SYMBOL(MachineCheckException);
60 EXPORT_SYMBOL(AlignmentException);
61 EXPORT_SYMBOL(ProgramCheckException);
62 EXPORT_SYMBOL(SingleStepException);
63 EXPORT_SYMBOL(sys_sigreturn);
64 EXPORT_SYMBOL(ppc_n_lost_interrupts);
65 EXPORT_SYMBOL(do_lost_interrupts);
66 EXPORT_SYMBOL(enable_irq);
67 EXPORT_SYMBOL(disable_irq);
68 EXPORT_SYMBOL(disable_irq_nosync);
69 EXPORT_SYMBOL(ppc_local_irq_count);
70 EXPORT_SYMBOL(ppc_local_bh_count);
72 EXPORT_SYMBOL(isa_io_base);
73 EXPORT_SYMBOL(isa_mem_base);
74 EXPORT_SYMBOL(pci_dram_offset);
75 EXPORT_SYMBOL(ISA_DMA_THRESHOLD);
76 EXPORT_SYMBOL(DMA_MODE_READ);
77 EXPORT_SYMBOL(DMA_MODE_WRITE);
78 EXPORT_SYMBOL(_prep_type);
79 EXPORT_SYMBOL(ucSystemType);
81 EXPORT_SYMBOL(atomic_add);
82 EXPORT_SYMBOL(atomic_sub);
83 EXPORT_SYMBOL(atomic_inc);
84 EXPORT_SYMBOL(atomic_inc_return);
85 EXPORT_SYMBOL(atomic_dec);
86 EXPORT_SYMBOL(atomic_dec_return);
87 EXPORT_SYMBOL(atomic_dec_and_test);
89 EXPORT_SYMBOL(set_bit);
90 EXPORT_SYMBOL(clear_bit);
91 EXPORT_SYMBOL(change_bit);
92 EXPORT_SYMBOL(test_and_set_bit);
93 EXPORT_SYMBOL(test_and_clear_bit);
94 EXPORT_SYMBOL(test_and_change_bit);
95 #if 0
96 EXPORT_SYMBOL(ffz);
97 EXPORT_SYMBOL(find_first_zero_bit);
98 EXPORT_SYMBOL(find_next_zero_bit);
99 #endif
101 EXPORT_SYMBOL(strcpy);
102 EXPORT_SYMBOL(strncpy);
103 EXPORT_SYMBOL(strcat);
104 EXPORT_SYMBOL(strncat);
105 EXPORT_SYMBOL(strchr);
106 EXPORT_SYMBOL(strrchr);
107 EXPORT_SYMBOL(strpbrk);
108 EXPORT_SYMBOL(strtok);
109 EXPORT_SYMBOL(strstr);
110 EXPORT_SYMBOL(strlen);
111 EXPORT_SYMBOL(strnlen);
112 EXPORT_SYMBOL(strspn);
113 EXPORT_SYMBOL(strcmp);
114 EXPORT_SYMBOL(strncmp);
116 /* EXPORT_SYMBOL(csum_partial); already in net/netsyms.c */
117 EXPORT_SYMBOL(csum_partial_copy_generic);
118 EXPORT_SYMBOL(ip_fast_csum);
119 EXPORT_SYMBOL(csum_tcpudp_magic);
121 EXPORT_SYMBOL(__copy_tofrom_user);
122 EXPORT_SYMBOL(__clear_user);
123 EXPORT_SYMBOL(__strncpy_from_user);
124 EXPORT_SYMBOL(strlen_user);
127 EXPORT_SYMBOL(inb);
128 EXPORT_SYMBOL(inw);
129 EXPORT_SYMBOL(inl);
130 EXPORT_SYMBOL(outb);
131 EXPORT_SYMBOL(outw);
132 EXPORT_SYMBOL(outl);
133 EXPORT_SYMBOL(outsl);*/
135 EXPORT_SYMBOL(_insb);
136 EXPORT_SYMBOL(_outsb);
137 EXPORT_SYMBOL(_insw);
138 EXPORT_SYMBOL(_outsw);
139 EXPORT_SYMBOL(_insl);
140 EXPORT_SYMBOL(_outsl);
141 EXPORT_SYMBOL(_insw_ns);
142 EXPORT_SYMBOL(_outsw_ns);
143 EXPORT_SYMBOL(_insl_ns);
144 EXPORT_SYMBOL(_outsl_ns);
145 EXPORT_SYMBOL(ioremap);
146 EXPORT_SYMBOL(__ioremap);
147 EXPORT_SYMBOL(iounmap);
149 EXPORT_SYMBOL(ide_insw);
150 EXPORT_SYMBOL(ide_outsw);
151 EXPORT_SYMBOL(ppc_ide_md);
153 EXPORT_SYMBOL(start_thread);
154 EXPORT_SYMBOL(kernel_thread);
156 EXPORT_SYMBOL(__cli);
157 EXPORT_SYMBOL(__sti);
158 /*EXPORT_SYMBOL(__restore_flags);*/
159 EXPORT_SYMBOL(_disable_interrupts);
160 EXPORT_SYMBOL(_enable_interrupts);
161 EXPORT_SYMBOL(flush_instruction_cache);
162 EXPORT_SYMBOL(_get_PVR);
163 EXPORT_SYMBOL(giveup_fpu);
164 EXPORT_SYMBOL(enable_kernel_fp);
165 EXPORT_SYMBOL(flush_icache_range);
166 EXPORT_SYMBOL(xchg_u32);
167 #ifdef __SMP__
168 EXPORT_SYMBOL(__global_cli);
169 EXPORT_SYMBOL(__global_sti);
170 EXPORT_SYMBOL(__global_save_flags);
171 EXPORT_SYMBOL(__global_restore_flags);
172 EXPORT_SYMBOL(_spin_lock);
173 EXPORT_SYMBOL(_spin_unlock);
174 EXPORT_SYMBOL(spin_trylock);
175 EXPORT_SYMBOL(_read_lock);
176 EXPORT_SYMBOL(_read_unlock);
177 EXPORT_SYMBOL(_write_lock);
178 EXPORT_SYMBOL(_write_unlock);
179 #endif
181 EXPORT_SYMBOL(_machine);
182 EXPORT_SYMBOL(ppc_md);
184 EXPORT_SYMBOL(adb_request);
185 EXPORT_SYMBOL(adb_register);
186 EXPORT_SYMBOL(cuda_request);
187 EXPORT_SYMBOL(cuda_poll);
188 EXPORT_SYMBOL(pmu_request);
189 EXPORT_SYMBOL(pmu_poll);
190 #ifdef CONFIG_PMAC_PBOOK
191 EXPORT_SYMBOL(sleep_notifier_list);
192 #endif CONFIG_PMAC_PBOOK
193 EXPORT_SYMBOL(abort);
194 EXPORT_SYMBOL(find_devices);
195 EXPORT_SYMBOL(find_type_devices);
196 EXPORT_SYMBOL(find_compatible_devices);
197 EXPORT_SYMBOL(find_path_device);
198 EXPORT_SYMBOL(find_phandle);
199 EXPORT_SYMBOL(get_property);
200 EXPORT_SYMBOL(pci_io_base);
201 EXPORT_SYMBOL(pci_device_loc);
202 EXPORT_SYMBOL(feature_set);
203 EXPORT_SYMBOL(feature_clear);
204 EXPORT_SYMBOL(feature_test);
205 #ifdef CONFIG_SCSI
206 EXPORT_SYMBOL(note_scsi_host);
207 #endif
208 EXPORT_SYMBOL(kd_mksound);
209 #ifdef CONFIG_PMAC
210 EXPORT_SYMBOL(nvram_read_byte);
211 EXPORT_SYMBOL(nvram_write_byte);
212 #endif /* CONFIG_PMAC */
214 EXPORT_SYMBOL_NOVERS(memcpy);
215 EXPORT_SYMBOL_NOVERS(memset);
216 EXPORT_SYMBOL_NOVERS(memmove);
217 EXPORT_SYMBOL_NOVERS(memscan);
218 EXPORT_SYMBOL_NOVERS(memcmp);
220 EXPORT_SYMBOL(abs);
221 EXPORT_SYMBOL(device_is_compatible);
223 #ifdef CONFIG_VT
224 EXPORT_SYMBOL(screen_info);
225 #endif