1 #include <linux/config.h>
2 #include <linux/module.h>
4 #include <linux/user.h>
5 #include <linux/elfcore.h>
7 #include <linux/sched.h>
9 #include <linux/interrupt.h>
10 #include <linux/smp_lock.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>
20 #include <asm/semaphore.h>
21 #include <asm/processor.h>
23 #include <asm/uaccess.h>
24 #include <asm/checksum.h>
26 #include <asm/delay.h>
30 #include <asm/pgtable.h>
31 #include <asm/tlbflush.h>
34 #include <asm/kdebug.h>
36 extern void dump_thread(struct pt_regs *, struct user *);
37 extern spinlock_t rtc_lock;
39 /* This is definitely a GPL-only symbol */
40 EXPORT_SYMBOL_GPL(cpu_gdt_table);
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);
50 extern void FASTCALL( __write_lock_failed(rwlock_t *rw));
51 extern void FASTCALL( __read_lock_failed(rwlock_t *rw));
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);
59 extern unsigned long cpu_khz;
60 extern unsigned long get_cmos_time(void);
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);
69 #ifdef CONFIG_X86_NUMAQ
70 EXPORT_SYMBOL(xquad_portio);
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);
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);
93 EXPORT_SYMBOL(__ndelay);
94 EXPORT_SYMBOL(__udelay);
95 EXPORT_SYMBOL(__delay);
96 EXPORT_SYMBOL(__const_udelay);
98 EXPORT_SYMBOL(__get_user_1);
99 EXPORT_SYMBOL(__get_user_2);
100 EXPORT_SYMBOL(__get_user_4);
102 EXPORT_SYMBOL(strpbrk);
103 EXPORT_SYMBOL(strstr);
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);
113 EXPORT_SYMBOL(dma_alloc_coherent);
114 EXPORT_SYMBOL(dma_free_coherent);
117 EXPORT_SYMBOL(pcibios_penalize_isa_irq);
118 EXPORT_SYMBOL(pci_mem_start);
121 #ifdef CONFIG_PCI_BIOS
122 EXPORT_SYMBOL(pcibios_set_irq_routing);
123 EXPORT_SYMBOL(pcibios_get_irq_routing_table);
126 #ifdef CONFIG_X86_USE_3DNOW
127 EXPORT_SYMBOL(_mmx_memcpy);
128 EXPORT_SYMBOL(mmx_clear_page);
129 EXPORT_SYMBOL(mmx_copy_page);
133 EXPORT_SYMBOL(smp_num_siblings);
134 EXPORT_SYMBOL(cpu_sibling_map);
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);
144 /* Global SMP stuff */
145 EXPORT_SYMBOL(smp_call_function);
148 EXPORT_SYMBOL(flush_tlb_page);
149 EXPORT_SYMBOL_GPL(flush_tlb_all);
152 #ifdef CONFIG_X86_IO_APIC
153 EXPORT_SYMBOL(IO_APIC_get_PCI_irq_vector);
157 EXPORT_SYMBOL(machine_id);
161 EXPORT_SYMBOL(screen_info);
164 EXPORT_SYMBOL(get_wchan);
166 EXPORT_SYMBOL(rtc_lock);
168 EXPORT_SYMBOL_GPL(set_nmi_callback);
169 EXPORT_SYMBOL_GPL(unset_nmi_callback);
172 extern int memcmp(const void *,const void *,__kernel_size_t);
173 EXPORT_SYMBOL(memcmp);
175 EXPORT_SYMBOL(register_die_notifier);
176 #ifdef CONFIG_HAVE_DEC_LOCK
177 EXPORT_SYMBOL(_atomic_dec_and_lock);
180 EXPORT_SYMBOL(__PAGE_KERNEL);
182 #ifdef CONFIG_HIGHMEM
184 EXPORT_SYMBOL(kunmap);
185 EXPORT_SYMBOL(kmap_atomic);
186 EXPORT_SYMBOL(kunmap_atomic);
187 EXPORT_SYMBOL(kmap_atomic_to_page);
190 #if defined(CONFIG_X86_SPEEDSTEP_SMI) || defined(CONFIG_X86_SPEEDSTEP_SMI_MODULE)
191 EXPORT_SYMBOL(ist_info);
194 EXPORT_SYMBOL(csum_partial);