fedora core 2.6.10-1.12-FC2
[linux-2.6.git] / arch / i386 / kernel / i386_ksyms.c
1 #include <linux/config.h>
2 #include <linux/module.h>
3 #include <linux/smp.h>
4 #include <linux/user.h>
5 #include <linux/elfcore.h>
6 #include <linux/mca.h>
7 #include <linux/sched.h>
8 #include <linux/in6.h>
9 #include <linux/interrupt.h>
10 #include <linux/smp_lock.h>
11 #include <linux/pm.h>
12 #include <linux/pci.h>
13 #include <linux/apm_bios.h>
14 #include <linux/kernel.h>
15 #include <linux/string.h>
16 #include <linux/tty.h>
17 #include <linux/highmem.h>
18 #include <linux/time.h>
19
20 #include <asm/semaphore.h>
21 #include <asm/processor.h>
22 #include <asm/i387.h>
23 #include <asm/uaccess.h>
24 #include <asm/checksum.h>
25 #include <asm/io.h>
26 #include <asm/delay.h>
27 #include <asm/irq.h>
28 #include <asm/mmx.h>
29 #include <asm/desc.h>
30 #include <asm/pgtable.h>
31 #include <asm/tlbflush.h>
32 #include <asm/nmi.h>
33 #include <asm/ist.h>
34 #include <asm/kdebug.h>
35
36 extern void dump_thread(struct pt_regs *, struct user *);
37 extern spinlock_t rtc_lock;
38
39 /* This is definitely a GPL-only symbol */
40 EXPORT_SYMBOL_GPL(cpu_gdt_table);
41
42 #if defined(CONFIG_APM_MODULE)
43 extern void machine_real_restart(unsigned char *, int);
44 EXPORT_SYMBOL(machine_real_restart);
45 extern void default_idle(void);
46 EXPORT_SYMBOL(default_idle);
47 #endif
48
49 #ifdef CONFIG_SMP
50 extern void FASTCALL( __write_lock_failed(rwlock_t *rw));
51 extern void FASTCALL( __read_lock_failed(rwlock_t *rw));
52 #endif
53
54 #if defined(CONFIG_BLK_DEV_IDE) || defined(CONFIG_BLK_DEV_HD) || defined(CONFIG_BLK_DEV_IDE_MODULE) || defined(CONFIG_BLK_DEV_HD_MODULE)
55 extern struct drive_info_struct drive_info;
56 EXPORT_SYMBOL(drive_info);
57 #endif
58
59 extern unsigned long cpu_khz;
60 extern unsigned long get_cmos_time(void);
61
62 /* platform dependent support */
63 EXPORT_SYMBOL(boot_cpu_data);
64 EXPORT_SYMBOL(MCA_bus);
65 #ifdef CONFIG_DISCONTIGMEM
66 EXPORT_SYMBOL(node_data);
67 EXPORT_SYMBOL(physnode_map);
68 #endif
69 #ifdef CONFIG_X86_NUMAQ
70 EXPORT_SYMBOL(xquad_portio);
71 #endif
72 EXPORT_SYMBOL(dump_thread);
73 EXPORT_SYMBOL(dump_fpu);
74 EXPORT_SYMBOL_GPL(kernel_fpu_begin);
75 EXPORT_SYMBOL(__ioremap);
76 EXPORT_SYMBOL(ioremap_nocache);
77 EXPORT_SYMBOL(iounmap);
78 EXPORT_SYMBOL(probe_irq_mask);
79 EXPORT_SYMBOL(kernel_thread);
80 EXPORT_SYMBOL(pm_idle);
81 EXPORT_SYMBOL(pm_power_off);
82 EXPORT_SYMBOL(get_cmos_time);
83 EXPORT_SYMBOL(cpu_khz);
84 EXPORT_SYMBOL(apm_info);
85
86 EXPORT_SYMBOL(__down_failed);
87 EXPORT_SYMBOL(__down_failed_interruptible);
88 EXPORT_SYMBOL(__down_failed_trylock);
89 EXPORT_SYMBOL(__up_wakeup);
90 /* Networking helper routines. */
91 EXPORT_SYMBOL(csum_partial_copy_generic);
92 /* Delay loops */
93 EXPORT_SYMBOL(__ndelay);
94 EXPORT_SYMBOL(__udelay);
95 EXPORT_SYMBOL(__delay);
96 EXPORT_SYMBOL(__const_udelay);
97
98 EXPORT_SYMBOL(__get_user_1);
99 EXPORT_SYMBOL(__get_user_2);
100 EXPORT_SYMBOL(__get_user_4);
101
102 EXPORT_SYMBOL(strpbrk);
103 EXPORT_SYMBOL(strstr);
104
105 EXPORT_SYMBOL(strncpy_from_user);
106 EXPORT_SYMBOL(__strncpy_from_user);
107 EXPORT_SYMBOL(clear_user);
108 EXPORT_SYMBOL(__clear_user);
109 EXPORT_SYMBOL(__copy_from_user_ll);
110 EXPORT_SYMBOL(__copy_to_user_ll);
111 EXPORT_SYMBOL(strnlen_user);
112
113 EXPORT_SYMBOL(dma_alloc_coherent);
114 EXPORT_SYMBOL(dma_free_coherent);
115
116 #ifdef CONFIG_PCI
117 EXPORT_SYMBOL(pcibios_penalize_isa_irq);
118 EXPORT_SYMBOL(pci_mem_start);
119 #endif
120
121 #ifdef CONFIG_PCI_BIOS
122 EXPORT_SYMBOL(pcibios_set_irq_routing);
123 EXPORT_SYMBOL(pcibios_get_irq_routing_table);
124 #endif
125
126 #ifdef CONFIG_X86_USE_3DNOW
127 EXPORT_SYMBOL(_mmx_memcpy);
128 EXPORT_SYMBOL(mmx_clear_page);
129 EXPORT_SYMBOL(mmx_copy_page);
130 #endif
131
132 #ifdef CONFIG_X86_HT
133 EXPORT_SYMBOL(smp_num_siblings);
134 EXPORT_SYMBOL(cpu_sibling_map);
135 #endif
136
137 #ifdef CONFIG_SMP
138 EXPORT_SYMBOL(cpu_data);
139 EXPORT_SYMBOL(cpu_online_map);
140 EXPORT_SYMBOL(cpu_callout_map);
141 EXPORT_SYMBOL(__write_lock_failed);
142 EXPORT_SYMBOL(__read_lock_failed);
143
144 /* Global SMP stuff */
145 EXPORT_SYMBOL(smp_call_function);
146
147 /* TLB flushing */
148 EXPORT_SYMBOL(flush_tlb_page);
149 EXPORT_SYMBOL_GPL(flush_tlb_all);
150 #endif
151
152 #ifdef CONFIG_X86_IO_APIC
153 EXPORT_SYMBOL(IO_APIC_get_PCI_irq_vector);
154 #endif
155
156 #ifdef CONFIG_MCA
157 EXPORT_SYMBOL(machine_id);
158 #endif
159
160 #ifdef CONFIG_VT
161 EXPORT_SYMBOL(screen_info);
162 #endif
163
164 EXPORT_SYMBOL(get_wchan);
165
166 EXPORT_SYMBOL(rtc_lock);
167
168 EXPORT_SYMBOL_GPL(set_nmi_callback);
169 EXPORT_SYMBOL_GPL(unset_nmi_callback);
170
171 #undef memcmp
172 extern int memcmp(const void *,const void *,__kernel_size_t);
173 EXPORT_SYMBOL(memcmp);
174
175 EXPORT_SYMBOL(register_die_notifier);
176 #ifdef CONFIG_HAVE_DEC_LOCK
177 EXPORT_SYMBOL(_atomic_dec_and_lock);
178 #endif
179
180 EXPORT_SYMBOL(__PAGE_KERNEL);
181
182 #ifdef CONFIG_HIGHMEM
183 EXPORT_SYMBOL(kmap);
184 EXPORT_SYMBOL(kunmap);
185 EXPORT_SYMBOL(kmap_atomic);
186 EXPORT_SYMBOL(kunmap_atomic);
187 EXPORT_SYMBOL(kmap_atomic_to_page);
188 #endif
189
190 #if defined(CONFIG_X86_SPEEDSTEP_SMI) || defined(CONFIG_X86_SPEEDSTEP_SMI_MODULE)
191 EXPORT_SYMBOL(ist_info);
192 #endif
193
194 EXPORT_SYMBOL(csum_partial);