vserver 1.9.5.x5
[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 #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(strpbrk);
101 EXPORT_SYMBOL(strstr);
102
103 EXPORT_SYMBOL(strncpy_from_user);
104 EXPORT_SYMBOL(__strncpy_from_user);
105 EXPORT_SYMBOL(clear_user);
106 EXPORT_SYMBOL(__clear_user);
107 EXPORT_SYMBOL(__copy_from_user_ll);
108 EXPORT_SYMBOL(__copy_to_user_ll);
109 EXPORT_SYMBOL(strnlen_user);
110
111 EXPORT_SYMBOL(dma_alloc_coherent);
112 EXPORT_SYMBOL(dma_free_coherent);
113
114 #ifdef CONFIG_PCI
115 EXPORT_SYMBOL(pcibios_penalize_isa_irq);
116 EXPORT_SYMBOL(pci_mem_start);
117 #endif
118
119 #ifdef CONFIG_PCI_BIOS
120 EXPORT_SYMBOL(pcibios_set_irq_routing);
121 EXPORT_SYMBOL(pcibios_get_irq_routing_table);
122 #endif
123
124 #ifdef CONFIG_X86_USE_3DNOW
125 EXPORT_SYMBOL(_mmx_memcpy);
126 EXPORT_SYMBOL(mmx_clear_page);
127 EXPORT_SYMBOL(mmx_copy_page);
128 #endif
129
130 #ifdef CONFIG_X86_HT
131 EXPORT_SYMBOL(smp_num_siblings);
132 EXPORT_SYMBOL(cpu_sibling_map);
133 #endif
134
135 #ifdef CONFIG_SMP
136 EXPORT_SYMBOL(cpu_data);
137 EXPORT_SYMBOL(cpu_online_map);
138 EXPORT_SYMBOL(cpu_callout_map);
139 EXPORT_SYMBOL(__write_lock_failed);
140 EXPORT_SYMBOL(__read_lock_failed);
141
142 /* Global SMP stuff */
143 EXPORT_SYMBOL(smp_call_function);
144
145 /* TLB flushing */
146 EXPORT_SYMBOL(flush_tlb_page);
147 EXPORT_SYMBOL_GPL(flush_tlb_all);
148 #endif
149
150 #ifdef CONFIG_X86_IO_APIC
151 EXPORT_SYMBOL(IO_APIC_get_PCI_irq_vector);
152 #endif
153
154 #ifdef CONFIG_MCA
155 EXPORT_SYMBOL(machine_id);
156 #endif
157
158 #ifdef CONFIG_VT
159 EXPORT_SYMBOL(screen_info);
160 #endif
161
162 EXPORT_SYMBOL(get_wchan);
163
164 EXPORT_SYMBOL(rtc_lock);
165
166 EXPORT_SYMBOL_GPL(set_nmi_callback);
167 EXPORT_SYMBOL_GPL(unset_nmi_callback);
168
169 #undef memcmp
170 extern int memcmp(const void *,const void *,__kernel_size_t);
171 EXPORT_SYMBOL(memcmp);
172
173 EXPORT_SYMBOL(register_die_notifier);
174 #ifdef CONFIG_HAVE_DEC_LOCK
175 EXPORT_SYMBOL(_atomic_dec_and_lock);
176 #endif
177
178 EXPORT_SYMBOL(__PAGE_KERNEL);
179
180 #ifdef CONFIG_HIGHMEM
181 EXPORT_SYMBOL(kmap);
182 EXPORT_SYMBOL(kunmap);
183 EXPORT_SYMBOL(kmap_atomic);
184 EXPORT_SYMBOL(kunmap_atomic);
185 EXPORT_SYMBOL(kmap_atomic_to_page);
186 #endif
187
188 #if defined(CONFIG_X86_SPEEDSTEP_SMI) || defined(CONFIG_X86_SPEEDSTEP_SMI_MODULE)
189 EXPORT_SYMBOL(ist_info);
190 #endif
191
192 EXPORT_SYMBOL(csum_partial);