powerpc: merge idle_power4.S and trapc.s
[deliverable/linux.git] / arch / ppc / kernel / ppc_ksyms.c
CommitLineData
1da177e4
LT
1#include <linux/config.h>
2#include <linux/module.h>
3#include <linux/threads.h>
4#include <linux/smp.h>
5#include <linux/sched.h>
6#include <linux/elfcore.h>
7#include <linux/string.h>
8#include <linux/interrupt.h>
9#include <linux/tty.h>
10#include <linux/vt_kern.h>
11#include <linux/nvram.h>
12#include <linux/console.h>
13#include <linux/irq.h>
14#include <linux/pci.h>
15#include <linux/delay.h>
16#include <linux/ide.h>
17#include <linux/pm.h>
18#include <linux/bitops.h>
19
20#include <asm/page.h>
21#include <asm/semaphore.h>
22#include <asm/processor.h>
23#include <asm/uaccess.h>
24#include <asm/io.h>
25#include <asm/ide.h>
26#include <asm/atomic.h>
27#include <asm/checksum.h>
28#include <asm/pgtable.h>
29#include <asm/tlbflush.h>
30#include <linux/adb.h>
31#include <linux/cuda.h>
32#include <linux/pmu.h>
33#include <asm/prom.h>
34#include <asm/system.h>
35#include <asm/pci-bridge.h>
36#include <asm/irq.h>
37#include <asm/pmac_feature.h>
38#include <asm/dma.h>
39#include <asm/machdep.h>
40#include <asm/hw_irq.h>
41#include <asm/nvram.h>
42#include <asm/mmu_context.h>
43#include <asm/backlight.h>
44#include <asm/time.h>
45#include <asm/cputable.h>
46#include <asm/btext.h>
47#include <asm/div64.h>
48#include <asm/xmon.h>
49
50#ifdef CONFIG_8xx
51#include <asm/commproc.h>
52#endif
53
1da177e4 54extern void transfer_to_handler(void);
1da177e4 55extern void do_IRQ(struct pt_regs *regs);
dc1c1ca3
SR
56extern void machine_check_exception(struct pt_regs *regs);
57extern void alignment_exception(struct pt_regs *regs);
58extern void program_check_exception(struct pt_regs *regs);
59extern void single_step_exception(struct pt_regs *regs);
1da177e4
LT
60extern int do_signal(sigset_t *, struct pt_regs *);
61extern int pmac_newworld;
62extern int sys_sigreturn(struct pt_regs *regs);
63
64long long __ashrdi3(long long, int);
65long long __ashldi3(long long, int);
66long long __lshrdi3(long long, int);
67
68extern unsigned long mm_ptov (unsigned long paddr);
69
70EXPORT_SYMBOL(clear_pages);
71EXPORT_SYMBOL(clear_user_page);
72EXPORT_SYMBOL(do_signal);
1da177e4
LT
73EXPORT_SYMBOL(transfer_to_handler);
74EXPORT_SYMBOL(do_IRQ);
dc1c1ca3
SR
75EXPORT_SYMBOL(machine_check_exception);
76EXPORT_SYMBOL(alignment_exception);
77EXPORT_SYMBOL(program_check_exception);
78EXPORT_SYMBOL(single_step_exception);
1da177e4
LT
79EXPORT_SYMBOL(sys_sigreturn);
80EXPORT_SYMBOL(ppc_n_lost_interrupts);
81EXPORT_SYMBOL(ppc_lost_interrupts);
82
83EXPORT_SYMBOL(ISA_DMA_THRESHOLD);
84EXPORT_SYMBOL(DMA_MODE_READ);
85EXPORT_SYMBOL(DMA_MODE_WRITE);
86#if defined(CONFIG_PPC_PREP)
87EXPORT_SYMBOL(_prep_type);
88EXPORT_SYMBOL(ucSystemType);
89#endif
90
91#if !defined(__INLINE_BITOPS)
92EXPORT_SYMBOL(set_bit);
93EXPORT_SYMBOL(clear_bit);
94EXPORT_SYMBOL(change_bit);
95EXPORT_SYMBOL(test_and_set_bit);
96EXPORT_SYMBOL(test_and_clear_bit);
97EXPORT_SYMBOL(test_and_change_bit);
98#endif /* __INLINE_BITOPS */
99
100EXPORT_SYMBOL(strcpy);
101EXPORT_SYMBOL(strncpy);
102EXPORT_SYMBOL(strcat);
103EXPORT_SYMBOL(strncat);
104EXPORT_SYMBOL(strchr);
105EXPORT_SYMBOL(strrchr);
106EXPORT_SYMBOL(strpbrk);
107EXPORT_SYMBOL(strstr);
108EXPORT_SYMBOL(strlen);
109EXPORT_SYMBOL(strnlen);
110EXPORT_SYMBOL(strcmp);
111EXPORT_SYMBOL(strncmp);
112EXPORT_SYMBOL(strcasecmp);
113EXPORT_SYMBOL(__div64_32);
114
115EXPORT_SYMBOL(csum_partial);
116EXPORT_SYMBOL(csum_partial_copy_generic);
117EXPORT_SYMBOL(ip_fast_csum);
118EXPORT_SYMBOL(csum_tcpudp_magic);
119
120EXPORT_SYMBOL(__copy_tofrom_user);
121EXPORT_SYMBOL(__clear_user);
122EXPORT_SYMBOL(__strncpy_from_user);
123EXPORT_SYMBOL(__strnlen_user);
124
125/*
126EXPORT_SYMBOL(inb);
127EXPORT_SYMBOL(inw);
128EXPORT_SYMBOL(inl);
129EXPORT_SYMBOL(outb);
130EXPORT_SYMBOL(outw);
131EXPORT_SYMBOL(outl);
132EXPORT_SYMBOL(outsl);*/
133
134EXPORT_SYMBOL(_insb);
135EXPORT_SYMBOL(_outsb);
136EXPORT_SYMBOL(_insw);
137EXPORT_SYMBOL(_outsw);
138EXPORT_SYMBOL(_insl);
139EXPORT_SYMBOL(_outsl);
140EXPORT_SYMBOL(_insw_ns);
141EXPORT_SYMBOL(_outsw_ns);
142EXPORT_SYMBOL(_insl_ns);
143EXPORT_SYMBOL(_outsl_ns);
144EXPORT_SYMBOL(iopa);
145EXPORT_SYMBOL(mm_ptov);
146EXPORT_SYMBOL(ioremap);
147#ifdef CONFIG_44x
148EXPORT_SYMBOL(ioremap64);
149#endif
150EXPORT_SYMBOL(__ioremap);
151EXPORT_SYMBOL(iounmap);
152EXPORT_SYMBOL(ioremap_bot); /* aka VMALLOC_END */
153
154#if defined(CONFIG_BLK_DEV_IDE) || defined(CONFIG_BLK_DEV_IDE_MODULE)
155EXPORT_SYMBOL(ppc_ide_md);
156#endif
157
158#ifdef CONFIG_PCI
159EXPORT_SYMBOL(isa_io_base);
160EXPORT_SYMBOL(isa_mem_base);
161EXPORT_SYMBOL(pci_dram_offset);
162EXPORT_SYMBOL(pci_alloc_consistent);
163EXPORT_SYMBOL(pci_free_consistent);
164EXPORT_SYMBOL(pci_bus_io_base);
165EXPORT_SYMBOL(pci_bus_io_base_phys);
166EXPORT_SYMBOL(pci_bus_mem_base_phys);
167EXPORT_SYMBOL(pci_bus_to_hose);
168EXPORT_SYMBOL(pci_resource_to_bus);
169EXPORT_SYMBOL(pci_phys_to_bus);
170EXPORT_SYMBOL(pci_bus_to_phys);
171#endif /* CONFIG_PCI */
172
173#ifdef CONFIG_NOT_COHERENT_CACHE
174EXPORT_SYMBOL(flush_dcache_all);
175#endif
176
177EXPORT_SYMBOL(start_thread);
178EXPORT_SYMBOL(kernel_thread);
179
180EXPORT_SYMBOL(flush_instruction_cache);
181EXPORT_SYMBOL(giveup_fpu);
182EXPORT_SYMBOL(flush_icache_range);
183EXPORT_SYMBOL(flush_dcache_range);
184EXPORT_SYMBOL(flush_icache_user_range);
185EXPORT_SYMBOL(flush_dcache_page);
186EXPORT_SYMBOL(flush_tlb_kernel_range);
187EXPORT_SYMBOL(flush_tlb_page);
188EXPORT_SYMBOL(_tlbie);
189#ifdef CONFIG_ALTIVEC
190EXPORT_SYMBOL(last_task_used_altivec);
191EXPORT_SYMBOL(giveup_altivec);
192#endif /* CONFIG_ALTIVEC */
193#ifdef CONFIG_SPE
194EXPORT_SYMBOL(last_task_used_spe);
195EXPORT_SYMBOL(giveup_spe);
196#endif /* CONFIG_SPE */
197#ifdef CONFIG_SMP
198EXPORT_SYMBOL(smp_call_function);
199EXPORT_SYMBOL(smp_hw_index);
200#endif
201
202EXPORT_SYMBOL(ppc_md);
203
204#ifdef CONFIG_ADB
205EXPORT_SYMBOL(adb_request);
206EXPORT_SYMBOL(adb_register);
207EXPORT_SYMBOL(adb_unregister);
208EXPORT_SYMBOL(adb_poll);
209EXPORT_SYMBOL(adb_try_handler_change);
210#endif /* CONFIG_ADB */
211#ifdef CONFIG_ADB_CUDA
212EXPORT_SYMBOL(cuda_request);
213EXPORT_SYMBOL(cuda_poll);
214#endif /* CONFIG_ADB_CUDA */
215#ifdef CONFIG_PPC_MULTIPLATFORM
216EXPORT_SYMBOL(_machine);
217#endif
218#ifdef CONFIG_PPC_PMAC
219EXPORT_SYMBOL(sys_ctrler);
220EXPORT_SYMBOL(pmac_newworld);
221#endif
222#ifdef CONFIG_PPC_OF
223EXPORT_SYMBOL(find_devices);
224EXPORT_SYMBOL(find_type_devices);
225EXPORT_SYMBOL(find_compatible_devices);
226EXPORT_SYMBOL(find_path_device);
227EXPORT_SYMBOL(device_is_compatible);
228EXPORT_SYMBOL(machine_is_compatible);
229EXPORT_SYMBOL(find_all_nodes);
230EXPORT_SYMBOL(get_property);
231EXPORT_SYMBOL(request_OF_resource);
232EXPORT_SYMBOL(release_OF_resource);
233EXPORT_SYMBOL(pci_busdev_to_OF_node);
234EXPORT_SYMBOL(pci_device_to_OF_node);
235EXPORT_SYMBOL(pci_device_from_OF_node);
236EXPORT_SYMBOL(of_find_node_by_name);
237EXPORT_SYMBOL(of_find_node_by_type);
238EXPORT_SYMBOL(of_find_compatible_node);
239EXPORT_SYMBOL(of_find_node_by_path);
240EXPORT_SYMBOL(of_find_all_nodes);
241EXPORT_SYMBOL(of_get_parent);
242EXPORT_SYMBOL(of_get_next_child);
243EXPORT_SYMBOL(of_node_get);
244EXPORT_SYMBOL(of_node_put);
245#endif /* CONFIG_PPC_OF */
246#if defined(CONFIG_BOOTX_TEXT)
247EXPORT_SYMBOL(btext_update_display);
248#endif
249#if defined(CONFIG_SCSI) && defined(CONFIG_PPC_PMAC)
250EXPORT_SYMBOL(note_scsi_host);
251#endif
252#ifdef CONFIG_VT
253EXPORT_SYMBOL(kd_mksound);
254#endif
255EXPORT_SYMBOL(to_tm);
256
257EXPORT_SYMBOL(pm_power_off);
258
259EXPORT_SYMBOL(__ashrdi3);
260EXPORT_SYMBOL(__ashldi3);
261EXPORT_SYMBOL(__lshrdi3);
262EXPORT_SYMBOL(memcpy);
e8834801 263EXPORT_SYMBOL(cacheable_memcpy);
1da177e4
LT
264EXPORT_SYMBOL(memset);
265EXPORT_SYMBOL(memmove);
266EXPORT_SYMBOL(memscan);
267EXPORT_SYMBOL(memcmp);
268EXPORT_SYMBOL(memchr);
269
270#if defined(CONFIG_FB_VGA16_MODULE)
271EXPORT_SYMBOL(screen_info);
272#endif
273
274EXPORT_SYMBOL(__delay);
1da177e4
LT
275EXPORT_SYMBOL(timer_interrupt);
276EXPORT_SYMBOL(irq_desc);
277EXPORT_SYMBOL(tb_ticks_per_jiffy);
278EXPORT_SYMBOL(get_wchan);
279EXPORT_SYMBOL(console_drivers);
280#ifdef CONFIG_XMON
281EXPORT_SYMBOL(xmon);
282EXPORT_SYMBOL(xmon_printf);
283#endif
284EXPORT_SYMBOL(__up);
285EXPORT_SYMBOL(__down);
286EXPORT_SYMBOL(__down_interruptible);
287
288#if defined(CONFIG_KGDB) || defined(CONFIG_XMON)
289extern void (*debugger)(struct pt_regs *regs);
290extern int (*debugger_bpt)(struct pt_regs *regs);
291extern int (*debugger_sstep)(struct pt_regs *regs);
292extern int (*debugger_iabr_match)(struct pt_regs *regs);
293extern int (*debugger_dabr_match)(struct pt_regs *regs);
294extern void (*debugger_fault_handler)(struct pt_regs *regs);
295
296EXPORT_SYMBOL(debugger);
297EXPORT_SYMBOL(debugger_bpt);
298EXPORT_SYMBOL(debugger_sstep);
299EXPORT_SYMBOL(debugger_iabr_match);
300EXPORT_SYMBOL(debugger_dabr_match);
301EXPORT_SYMBOL(debugger_fault_handler);
302#endif
303
304#ifdef CONFIG_8xx
305EXPORT_SYMBOL(cpm_install_handler);
306EXPORT_SYMBOL(cpm_free_handler);
307#endif /* CONFIG_8xx */
308#if defined(CONFIG_8xx) || defined(CONFIG_40x) || defined(CONFIG_85xx) ||\
309 defined(CONFIG_83xx)
310EXPORT_SYMBOL(__res);
311#endif
312
313EXPORT_SYMBOL(next_mmu_context);
314EXPORT_SYMBOL(set_context);
d8588ee5 315EXPORT_SYMBOL_GPL(__handle_mm_fault); /* For MOL */
1da177e4
LT
316EXPORT_SYMBOL(disarm_decr);
317#ifdef CONFIG_PPC_STD_MMU
318extern long mol_trampoline;
319EXPORT_SYMBOL(mol_trampoline); /* For MOL */
320EXPORT_SYMBOL(flush_hash_pages); /* For MOL */
321#ifdef CONFIG_SMP
322extern int mmu_hash_lock;
323EXPORT_SYMBOL(mmu_hash_lock); /* For MOL */
324#endif /* CONFIG_SMP */
325extern long *intercept_table;
326EXPORT_SYMBOL(intercept_table);
327#endif /* CONFIG_PPC_STD_MMU */
328EXPORT_SYMBOL(cur_cpu_spec);
329#ifdef CONFIG_PPC_PMAC
330extern unsigned long agp_special_page;
331EXPORT_SYMBOL(agp_special_page);
332#endif
333#if defined(CONFIG_40x) || defined(CONFIG_BOOKE)
334EXPORT_SYMBOL(__mtdcr);
335EXPORT_SYMBOL(__mfdcr);
336#endif
This page took 0.07712 seconds and 5 git commands to generate.