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 #ifdef CONFIG_DISCONTIGMEM
65 EXPORT_SYMBOL(node_data
);
66 EXPORT_SYMBOL(physnode_map
);
68 #ifdef CONFIG_X86_NUMAQ
69 EXPORT_SYMBOL(xquad_portio
);
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
);
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
);
91 EXPORT_SYMBOL(__ndelay
);
92 EXPORT_SYMBOL(__udelay
);
93 EXPORT_SYMBOL(__delay
);
94 EXPORT_SYMBOL(__const_udelay
);
96 EXPORT_SYMBOL(__get_user_1
);
97 EXPORT_SYMBOL(__get_user_2
);
98 EXPORT_SYMBOL(__get_user_4
);
100 EXPORT_SYMBOL(__put_user_1
);
101 EXPORT_SYMBOL(__put_user_2
);
102 EXPORT_SYMBOL(__put_user_4
);
103 EXPORT_SYMBOL(__put_user_8
);
105 EXPORT_SYMBOL(strpbrk
);
106 EXPORT_SYMBOL(strstr
);
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
);
116 EXPORT_SYMBOL(dma_alloc_coherent
);
117 EXPORT_SYMBOL(dma_free_coherent
);
120 EXPORT_SYMBOL(pci_mem_start
);
123 #ifdef CONFIG_PCI_BIOS
124 EXPORT_SYMBOL(pcibios_set_irq_routing
);
125 EXPORT_SYMBOL(pcibios_get_irq_routing_table
);
128 #ifdef CONFIG_X86_USE_3DNOW
129 EXPORT_SYMBOL(_mmx_memcpy
);
130 EXPORT_SYMBOL(mmx_clear_page
);
131 EXPORT_SYMBOL(mmx_copy_page
);
135 EXPORT_SYMBOL(smp_num_siblings
);
136 EXPORT_SYMBOL(cpu_sibling_map
);
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
);
146 /* Global SMP stuff */
147 EXPORT_SYMBOL(smp_call_function
);
150 EXPORT_SYMBOL(flush_tlb_page
);
153 #ifdef CONFIG_X86_IO_APIC
154 EXPORT_SYMBOL(IO_APIC_get_PCI_irq_vector
);
158 EXPORT_SYMBOL(machine_id
);
162 EXPORT_SYMBOL(screen_info
);
165 EXPORT_SYMBOL(get_wchan
);
167 EXPORT_SYMBOL(rtc_lock
);
169 EXPORT_SYMBOL_GPL(set_nmi_callback
);
170 EXPORT_SYMBOL_GPL(unset_nmi_callback
);
172 EXPORT_SYMBOL(register_die_notifier
);
173 #ifdef CONFIG_HAVE_DEC_LOCK
174 EXPORT_SYMBOL(_atomic_dec_and_lock
);
177 EXPORT_SYMBOL(__PAGE_KERNEL
);
179 #ifdef CONFIG_HIGHMEM
181 EXPORT_SYMBOL(kunmap
);
182 EXPORT_SYMBOL(kmap_atomic
);
183 EXPORT_SYMBOL(kunmap_atomic
);
184 EXPORT_SYMBOL(kmap_atomic_to_page
);
187 #if defined(CONFIG_X86_SPEEDSTEP_SMI) || defined(CONFIG_X86_SPEEDSTEP_SMI_MODULE)
188 EXPORT_SYMBOL(ist_info
);
191 EXPORT_SYMBOL(csum_partial
);