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>
18 #include <asm/semaphore.h>
19 #include <asm/processor.h>
21 #include <asm/uaccess.h>
22 #include <asm/checksum.h>
24 #include <asm/hardirq.h>
25 #include <asm/delay.h>
29 #include <asm/pgtable.h>
30 #include <asm/pgalloc.h>
32 extern void dump_thread(struct pt_regs *, struct user *);
33 extern spinlock_t rtc_lock;
35 #if defined(CONFIG_APM) || defined(CONFIG_APM_MODULE)
36 extern void machine_real_restart(unsigned char *, int);
37 EXPORT_SYMBOL(machine_real_restart);
38 extern void default_idle(void);
39 EXPORT_SYMBOL(default_idle);
43 extern void FASTCALL( __write_lock_failed(rwlock_t *rw));
44 extern void FASTCALL( __read_lock_failed(rwlock_t *rw));
47 #if defined(CONFIG_BLK_DEV_IDE) || defined(CONFIG_BLK_DEV_HD) || defined(CONFIG_BLK_DEV_IDE_MODULE) || defined(CONFIG_BLK_DEV_HD_MODULE)
48 extern struct drive_info_struct drive_info;
49 EXPORT_SYMBOL(drive_info);
52 extern unsigned long get_cmos_time(void);
54 /* platform dependent support */
55 EXPORT_SYMBOL(boot_cpu_data);
57 EXPORT_SYMBOL(EISA_bus);
59 EXPORT_SYMBOL(MCA_bus);
60 EXPORT_SYMBOL(__verify_write);
61 EXPORT_SYMBOL(dump_thread);
62 EXPORT_SYMBOL(dump_fpu);
63 EXPORT_SYMBOL(dump_extended_fpu);
64 EXPORT_SYMBOL(__ioremap);
65 EXPORT_SYMBOL(iounmap);
66 EXPORT_SYMBOL(enable_irq);
67 EXPORT_SYMBOL(disable_irq);
68 EXPORT_SYMBOL(disable_irq_nosync);
69 EXPORT_SYMBOL(probe_irq_mask);
70 EXPORT_SYMBOL(kernel_thread);
71 EXPORT_SYMBOL(pm_idle);
72 EXPORT_SYMBOL(pm_power_off);
73 EXPORT_SYMBOL(get_cmos_time);
74 EXPORT_SYMBOL(apm_info);
76 EXPORT_SYMBOL(empty_zero_page);
78 #ifdef CONFIG_DEBUG_IOVIRT
79 EXPORT_SYMBOL(__io_virt_debug);
82 EXPORT_SYMBOL_NOVERS(__down_failed);
83 EXPORT_SYMBOL_NOVERS(__down_failed_interruptible);
84 EXPORT_SYMBOL_NOVERS(__down_failed_trylock);
85 EXPORT_SYMBOL_NOVERS(__up_wakeup);
86 /* Networking helper routines. */
87 EXPORT_SYMBOL(csum_partial_copy_generic);
89 EXPORT_SYMBOL(__udelay);
90 EXPORT_SYMBOL(__delay);
91 EXPORT_SYMBOL(__const_udelay);
93 EXPORT_SYMBOL_NOVERS(__get_user_1);
94 EXPORT_SYMBOL_NOVERS(__get_user_2);
95 EXPORT_SYMBOL_NOVERS(__get_user_4);
97 EXPORT_SYMBOL(strtok);
98 EXPORT_SYMBOL(strpbrk);
99 EXPORT_SYMBOL(strstr);
101 EXPORT_SYMBOL(strncpy_from_user);
102 EXPORT_SYMBOL(__strncpy_from_user);
103 EXPORT_SYMBOL(clear_user);
104 EXPORT_SYMBOL(__clear_user);
105 EXPORT_SYMBOL(__generic_copy_from_user);
106 EXPORT_SYMBOL(__generic_copy_to_user);
107 EXPORT_SYMBOL(strnlen_user);
109 EXPORT_SYMBOL(pci_alloc_consistent);
110 EXPORT_SYMBOL(pci_free_consistent);
113 EXPORT_SYMBOL(pcibios_penalize_isa_irq);
114 EXPORT_SYMBOL(pci_mem_start);
117 #ifdef CONFIG_PCI_BIOS
118 EXPORT_SYMBOL(pcibios_set_irq_routing);
119 EXPORT_SYMBOL(pcibios_get_irq_routing_table);
122 #ifdef CONFIG_X86_USE_3DNOW
123 EXPORT_SYMBOL(_mmx_memcpy);
124 EXPORT_SYMBOL(mmx_clear_page);
125 EXPORT_SYMBOL(mmx_copy_page);
129 EXPORT_SYMBOL(cpu_data);
130 EXPORT_SYMBOL(kernel_flag_cacheline);
131 EXPORT_SYMBOL(smp_num_cpus);
132 EXPORT_SYMBOL(cpu_online_map);
133 EXPORT_SYMBOL_NOVERS(__write_lock_failed);
134 EXPORT_SYMBOL_NOVERS(__read_lock_failed);
136 /* Global SMP irq stuff */
137 EXPORT_SYMBOL(synchronize_irq);
138 EXPORT_SYMBOL(global_irq_holder);
139 EXPORT_SYMBOL(__global_cli);
140 EXPORT_SYMBOL(__global_sti);
141 EXPORT_SYMBOL(__global_save_flags);
142 EXPORT_SYMBOL(__global_restore_flags);
143 EXPORT_SYMBOL(smp_call_function);
146 EXPORT_SYMBOL(flush_tlb_page);
149 #ifdef CONFIG_X86_IO_APIC
150 EXPORT_SYMBOL(IO_APIC_get_PCI_irq_vector);
154 EXPORT_SYMBOL(machine_id);
158 EXPORT_SYMBOL(screen_info);
161 EXPORT_SYMBOL(get_wchan);
163 EXPORT_SYMBOL(rtc_lock);
167 extern void * memset(void *,int,__kernel_size_t);
168 extern void * memcpy(void *,const void *,__kernel_size_t);
169 EXPORT_SYMBOL_NOVERS(memcpy);
170 EXPORT_SYMBOL_NOVERS(memset);
172 #ifdef CONFIG_HAVE_DEC_LOCK
173 EXPORT_SYMBOL(atomic_dec_and_lock);
176 extern int is_sony_vaio_laptop;
177 EXPORT_SYMBOL(is_sony_vaio_laptop);
179 #ifdef CONFIG_MULTIQUAD
180 EXPORT_SYMBOL(xquad_portio);