[PATCH] powerpc: Add FSL SOC library and setup code
[deliverable/linux.git] / arch / powerpc / kernel / ppc_ksyms.c
CommitLineData
20c8c210
PM
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>
20c8c210
PM
17#include <linux/bitops.h>
18
19#include <asm/page.h>
20#include <asm/semaphore.h>
21#include <asm/processor.h>
22#include <asm/uaccess.h>
23#include <asm/io.h>
24#include <asm/ide.h>
25#include <asm/atomic.h>
26#include <asm/checksum.h>
27#include <asm/pgtable.h>
28#include <asm/tlbflush.h>
29#include <linux/adb.h>
30#include <linux/cuda.h>
31#include <linux/pmu.h>
32#include <asm/prom.h>
33#include <asm/system.h>
34#include <asm/pci-bridge.h>
35#include <asm/irq.h>
36#include <asm/pmac_feature.h>
37#include <asm/dma.h>
38#include <asm/machdep.h>
39#include <asm/hw_irq.h>
40#include <asm/nvram.h>
41#include <asm/mmu_context.h>
42#include <asm/backlight.h>
43#include <asm/time.h>
44#include <asm/cputable.h>
45#include <asm/btext.h>
46#include <asm/div64.h>
c5ff7001 47#include <asm/signal.h>
20c8c210
PM
48
49#ifdef CONFIG_8xx
50#include <asm/commproc.h>
51#endif
52
40ef8cbc 53#ifdef CONFIG_PPC32
20c8c210
PM
54extern void transfer_to_handler(void);
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);
20c8c210
PM
60extern int pmac_newworld;
61extern int sys_sigreturn(struct pt_regs *regs);
62
20c8c210 63EXPORT_SYMBOL(clear_pages);
40ef8cbc
PM
64EXPORT_SYMBOL(ISA_DMA_THRESHOLD);
65EXPORT_SYMBOL(DMA_MODE_READ);
66EXPORT_SYMBOL(DMA_MODE_WRITE);
67EXPORT_SYMBOL(__div64_32);
68
20c8c210
PM
69EXPORT_SYMBOL(do_signal);
70EXPORT_SYMBOL(transfer_to_handler);
71EXPORT_SYMBOL(do_IRQ);
dc1c1ca3
SR
72EXPORT_SYMBOL(machine_check_exception);
73EXPORT_SYMBOL(alignment_exception);
74EXPORT_SYMBOL(program_check_exception);
75EXPORT_SYMBOL(single_step_exception);
20c8c210 76EXPORT_SYMBOL(sys_sigreturn);
40ef8cbc 77#endif
20c8c210 78
20c8c210
PM
79EXPORT_SYMBOL(strcpy);
80EXPORT_SYMBOL(strncpy);
81EXPORT_SYMBOL(strcat);
82EXPORT_SYMBOL(strncat);
83EXPORT_SYMBOL(strchr);
84EXPORT_SYMBOL(strrchr);
85EXPORT_SYMBOL(strpbrk);
86EXPORT_SYMBOL(strstr);
87EXPORT_SYMBOL(strlen);
88EXPORT_SYMBOL(strnlen);
89EXPORT_SYMBOL(strcmp);
90EXPORT_SYMBOL(strncmp);
91EXPORT_SYMBOL(strcasecmp);
20c8c210
PM
92
93EXPORT_SYMBOL(csum_partial);
94EXPORT_SYMBOL(csum_partial_copy_generic);
95EXPORT_SYMBOL(ip_fast_csum);
96EXPORT_SYMBOL(csum_tcpudp_magic);
97
98EXPORT_SYMBOL(__copy_tofrom_user);
99EXPORT_SYMBOL(__clear_user);
100EXPORT_SYMBOL(__strncpy_from_user);
101EXPORT_SYMBOL(__strnlen_user);
102
fa63b229
BC
103#ifndef __powerpc64__
104EXPORT_SYMBOL(__ide_mm_insl);
105EXPORT_SYMBOL(__ide_mm_outsw);
106EXPORT_SYMBOL(__ide_mm_insw);
107EXPORT_SYMBOL(__ide_mm_outsl);
108#endif
109
20c8c210
PM
110EXPORT_SYMBOL(_insb);
111EXPORT_SYMBOL(_outsb);
112EXPORT_SYMBOL(_insw);
113EXPORT_SYMBOL(_outsw);
114EXPORT_SYMBOL(_insl);
115EXPORT_SYMBOL(_outsl);
116EXPORT_SYMBOL(_insw_ns);
117EXPORT_SYMBOL(_outsw_ns);
118EXPORT_SYMBOL(_insl_ns);
119EXPORT_SYMBOL(_outsl_ns);
20c8c210
PM
120EXPORT_SYMBOL(ioremap);
121#ifdef CONFIG_44x
122EXPORT_SYMBOL(ioremap64);
123#endif
124EXPORT_SYMBOL(__ioremap);
125EXPORT_SYMBOL(iounmap);
40ef8cbc 126#ifdef CONFIG_PPC32
20c8c210 127EXPORT_SYMBOL(ioremap_bot); /* aka VMALLOC_END */
40ef8cbc 128#endif
20c8c210 129
40ef8cbc 130#if defined(CONFIG_PPC32) && (defined(CONFIG_BLK_DEV_IDE) || defined(CONFIG_BLK_DEV_IDE_MODULE))
20c8c210
PM
131EXPORT_SYMBOL(ppc_ide_md);
132#endif
133
40ef8cbc 134#if defined(CONFIG_PCI) && defined(CONFIG_PPC32)
20c8c210
PM
135EXPORT_SYMBOL(isa_io_base);
136EXPORT_SYMBOL(isa_mem_base);
137EXPORT_SYMBOL(pci_dram_offset);
138EXPORT_SYMBOL(pci_alloc_consistent);
139EXPORT_SYMBOL(pci_free_consistent);
140EXPORT_SYMBOL(pci_bus_io_base);
141EXPORT_SYMBOL(pci_bus_io_base_phys);
142EXPORT_SYMBOL(pci_bus_mem_base_phys);
143EXPORT_SYMBOL(pci_bus_to_hose);
20c8c210
PM
144#endif /* CONFIG_PCI */
145
146#ifdef CONFIG_NOT_COHERENT_CACHE
147EXPORT_SYMBOL(flush_dcache_all);
148#endif
149
150EXPORT_SYMBOL(start_thread);
151EXPORT_SYMBOL(kernel_thread);
152
20c8c210 153EXPORT_SYMBOL(giveup_fpu);
40ef8cbc
PM
154#ifdef CONFIG_ALTIVEC
155EXPORT_SYMBOL(giveup_altivec);
156#endif /* CONFIG_ALTIVEC */
157#ifdef CONFIG_SPE
158EXPORT_SYMBOL(giveup_spe);
159#endif /* CONFIG_SPE */
160
666acb94 161#ifndef CONFIG_PPC64
40ef8cbc 162EXPORT_SYMBOL(flush_instruction_cache);
20c8c210
PM
163EXPORT_SYMBOL(flush_tlb_kernel_range);
164EXPORT_SYMBOL(flush_tlb_page);
165EXPORT_SYMBOL(_tlbie);
40ef8cbc 166#endif
666acb94 167EXPORT_SYMBOL(__flush_icache_range);
40ef8cbc
PM
168EXPORT_SYMBOL(flush_dcache_range);
169
20c8c210
PM
170#ifdef CONFIG_SMP
171EXPORT_SYMBOL(smp_call_function);
40ef8cbc 172#ifdef CONFIG_PPC32
20c8c210
PM
173EXPORT_SYMBOL(smp_hw_index);
174#endif
40ef8cbc 175#endif
20c8c210
PM
176
177#ifdef CONFIG_ADB
178EXPORT_SYMBOL(adb_request);
179EXPORT_SYMBOL(adb_register);
180EXPORT_SYMBOL(adb_unregister);
181EXPORT_SYMBOL(adb_poll);
182EXPORT_SYMBOL(adb_try_handler_change);
183#endif /* CONFIG_ADB */
184#ifdef CONFIG_ADB_CUDA
185EXPORT_SYMBOL(cuda_request);
186EXPORT_SYMBOL(cuda_poll);
187#endif /* CONFIG_ADB_CUDA */
20c8c210
PM
188#ifdef CONFIG_PPC_PMAC
189EXPORT_SYMBOL(sys_ctrler);
20c8c210 190#endif
20c8c210
PM
191#ifdef CONFIG_VT
192EXPORT_SYMBOL(kd_mksound);
193#endif
194EXPORT_SYMBOL(to_tm);
195
40ef8cbc
PM
196#ifdef CONFIG_PPC32
197long long __ashrdi3(long long, int);
198long long __ashldi3(long long, int);
199long long __lshrdi3(long long, int);
20c8c210
PM
200EXPORT_SYMBOL(__ashrdi3);
201EXPORT_SYMBOL(__ashldi3);
202EXPORT_SYMBOL(__lshrdi3);
40ef8cbc
PM
203#endif
204
20c8c210 205EXPORT_SYMBOL(memcpy);
20c8c210
PM
206EXPORT_SYMBOL(memset);
207EXPORT_SYMBOL(memmove);
208EXPORT_SYMBOL(memscan);
209EXPORT_SYMBOL(memcmp);
210EXPORT_SYMBOL(memchr);
211
212#if defined(CONFIG_FB_VGA16_MODULE)
213EXPORT_SYMBOL(screen_info);
214#endif
215
40ef8cbc 216#ifdef CONFIG_PPC32
20c8c210
PM
217EXPORT_SYMBOL(__delay);
218EXPORT_SYMBOL(timer_interrupt);
219EXPORT_SYMBOL(irq_desc);
220EXPORT_SYMBOL(tb_ticks_per_jiffy);
20c8c210 221EXPORT_SYMBOL(console_drivers);
40ef8cbc 222EXPORT_SYMBOL(cacheable_memcpy);
20c8c210
PM
223#endif
224
20c8c210
PM
225EXPORT_SYMBOL(__up);
226EXPORT_SYMBOL(__down);
227EXPORT_SYMBOL(__down_interruptible);
228
20c8c210
PM
229#ifdef CONFIG_8xx
230EXPORT_SYMBOL(cpm_install_handler);
231EXPORT_SYMBOL(cpm_free_handler);
232#endif /* CONFIG_8xx */
233#if defined(CONFIG_8xx) || defined(CONFIG_40x) || defined(CONFIG_85xx) ||\
234 defined(CONFIG_83xx)
235EXPORT_SYMBOL(__res);
236#endif
237
40ef8cbc 238#ifdef CONFIG_PPC32
20c8c210
PM
239EXPORT_SYMBOL(next_mmu_context);
240EXPORT_SYMBOL(set_context);
40ef8cbc
PM
241#endif
242
243#ifdef CONFIG_PPC_STD_MMU_32
20c8c210
PM
244extern long mol_trampoline;
245EXPORT_SYMBOL(mol_trampoline); /* For MOL */
246EXPORT_SYMBOL(flush_hash_pages); /* For MOL */
247#ifdef CONFIG_SMP
248extern int mmu_hash_lock;
249EXPORT_SYMBOL(mmu_hash_lock); /* For MOL */
250#endif /* CONFIG_SMP */
251extern long *intercept_table;
252EXPORT_SYMBOL(intercept_table);
40ef8cbc 253#endif /* CONFIG_PPC_STD_MMU_32 */
20c8c210
PM
254#if defined(CONFIG_40x) || defined(CONFIG_BOOKE)
255EXPORT_SYMBOL(__mtdcr);
256EXPORT_SYMBOL(__mfdcr);
257#endif
This page took 0.177897 seconds and 5 git commands to generate.