Auto merge with /home/aegl/GIT/linus
[linux-2.6] / 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 #ifdef CONFIG_DISCONTIGMEM
65 EXPORT_SYMBOL(node_data);
66 EXPORT_SYMBOL(physnode_map);
67 #endif
68 #ifdef CONFIG_X86_NUMAQ
69 EXPORT_SYMBOL(xquad_portio);
70 #endif
71 EXPORT_SYMBOL(dump_thread);
72 EXPORT_SYMBOL(dump_fpu);
73 EXPORT_SYMBOL_GPL(kernel_fpu_begin);
74 EXPORT_SYMBOL(__ioremap);
75 EXPORT_SYMBOL(ioremap_nocache);
76 EXPORT_SYMBOL(iounmap);
77 EXPORT_SYMBOL(kernel_thread);
78 EXPORT_SYMBOL(pm_idle);
79 EXPORT_SYMBOL(pm_power_off);
80 EXPORT_SYMBOL(get_cmos_time);
81 EXPORT_SYMBOL(cpu_khz);
82 EXPORT_SYMBOL(apm_info);
83
84 EXPORT_SYMBOL(__down_failed);
85 EXPORT_SYMBOL(__down_failed_interruptible);
86 EXPORT_SYMBOL(__down_failed_trylock);
87 EXPORT_SYMBOL(__up_wakeup);
88 /* Networking helper routines. */
89 EXPORT_SYMBOL(csum_partial_copy_generic);
90 /* Delay loops */
91 EXPORT_SYMBOL(__ndelay);
92 EXPORT_SYMBOL(__udelay);
93 EXPORT_SYMBOL(__delay);
94 EXPORT_SYMBOL(__const_udelay);
95
96 EXPORT_SYMBOL(__get_user_1);
97 EXPORT_SYMBOL(__get_user_2);
98 EXPORT_SYMBOL(__get_user_4);
99
100 EXPORT_SYMBOL(__put_user_1);
101 EXPORT_SYMBOL(__put_user_2);
102 EXPORT_SYMBOL(__put_user_4);
103 EXPORT_SYMBOL(__put_user_8);
104
105 EXPORT_SYMBOL(strpbrk);
106 EXPORT_SYMBOL(strstr);
107
108 EXPORT_SYMBOL(strncpy_from_user);
109 EXPORT_SYMBOL(__strncpy_from_user);
110 EXPORT_SYMBOL(clear_user);
111 EXPORT_SYMBOL(__clear_user);
112 EXPORT_SYMBOL(__copy_from_user_ll);
113 EXPORT_SYMBOL(__copy_to_user_ll);
114 EXPORT_SYMBOL(strnlen_user);
115
116 EXPORT_SYMBOL(dma_alloc_coherent);
117 EXPORT_SYMBOL(dma_free_coherent);
118
119 #ifdef CONFIG_PCI
120 EXPORT_SYMBOL(pci_mem_start);
121 #endif
122
123 #ifdef CONFIG_PCI_BIOS
124 EXPORT_SYMBOL(pcibios_set_irq_routing);
125 EXPORT_SYMBOL(pcibios_get_irq_routing_table);
126 #endif
127
128 #ifdef CONFIG_X86_USE_3DNOW
129 EXPORT_SYMBOL(_mmx_memcpy);
130 EXPORT_SYMBOL(mmx_clear_page);
131 EXPORT_SYMBOL(mmx_copy_page);
132 #endif
133
134 #ifdef CONFIG_X86_HT
135 EXPORT_SYMBOL(smp_num_siblings);
136 EXPORT_SYMBOL(cpu_sibling_map);
137 #endif
138
139 #ifdef CONFIG_SMP
140 EXPORT_SYMBOL(cpu_data);
141 EXPORT_SYMBOL(cpu_online_map);
142 EXPORT_SYMBOL(cpu_callout_map);
143 EXPORT_SYMBOL(__write_lock_failed);
144 EXPORT_SYMBOL(__read_lock_failed);
145
146 /* Global SMP stuff */
147 EXPORT_SYMBOL(smp_call_function);
148
149 /* TLB flushing */
150 EXPORT_SYMBOL(flush_tlb_page);
151 #endif
152
153 #ifdef CONFIG_X86_IO_APIC
154 EXPORT_SYMBOL(IO_APIC_get_PCI_irq_vector);
155 #endif
156
157 #ifdef CONFIG_MCA
158 EXPORT_SYMBOL(machine_id);
159 #endif
160
161 #ifdef CONFIG_VT
162 EXPORT_SYMBOL(screen_info);
163 #endif
164
165 EXPORT_SYMBOL(get_wchan);
166
167 EXPORT_SYMBOL(rtc_lock);
168
169 EXPORT_SYMBOL_GPL(set_nmi_callback);
170 EXPORT_SYMBOL_GPL(unset_nmi_callback);
171
172 EXPORT_SYMBOL(register_die_notifier);
173 #ifdef CONFIG_HAVE_DEC_LOCK
174 EXPORT_SYMBOL(_atomic_dec_and_lock);
175 #endif
176
177 EXPORT_SYMBOL(__PAGE_KERNEL);
178
179 #ifdef CONFIG_HIGHMEM
180 EXPORT_SYMBOL(kmap);
181 EXPORT_SYMBOL(kunmap);
182 EXPORT_SYMBOL(kmap_atomic);
183 EXPORT_SYMBOL(kunmap_atomic);
184 EXPORT_SYMBOL(kmap_atomic_to_page);
185 #endif
186
187 #if defined(CONFIG_X86_SPEEDSTEP_SMI) || defined(CONFIG_X86_SPEEDSTEP_SMI_MODULE)
188 EXPORT_SYMBOL(ist_info);
189 #endif
190
191 EXPORT_SYMBOL(csum_partial);