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 18 #include <asm/semaphore.h> 19 #include <asm/processor.h> 20 #include <asm/i387.h> 21 #include <asm/uaccess.h> 22 #include <asm/checksum.h> 23 #include <asm/io.h> 24 #include <asm/hardirq.h> 25 #include <asm/delay.h> 26 #include <asm/irq.h> 27 #include <asm/mmx.h> 28 #include <asm/desc.h> 29 #include <asm/pgtable.h> 30 #include <asm/pgalloc.h> 31 #include <asm/edd.h> 32 33 extern void dump_thread(struct pt_regs *, struct user *); 34 extern spinlock_t rtc_lock; 35 36 #if defined(CONFIG_APM) || defined(CONFIG_APM_MODULE) 37 extern void machine_real_restart(unsigned char *, int); 38 EXPORT_SYMBOL(machine_real_restart); 39 extern void default_idle(void); 40 EXPORT_SYMBOL(default_idle); 41 #endif 42 43 #ifdef CONFIG_SMP 44 extern void FASTCALL( __write_lock_failed(rwlock_t *rw)); 45 extern void FASTCALL( __read_lock_failed(rwlock_t *rw)); 46 #endif 47 48 #if defined(CONFIG_BLK_DEV_IDE) || defined(CONFIG_BLK_DEV_HD) || defined(CONFIG_BLK_DEV_IDE_MODULE) || defined(CONFIG_BLK_DEV_HD_MODULE) 49 extern struct drive_info_struct drive_info; 50 EXPORT_SYMBOL(drive_info); 51 #endif 52 53 extern unsigned long get_cmos_time(void); 54 55 /* platform dependent support */ 56 EXPORT_SYMBOL(boot_cpu_data); 57 #ifdef CONFIG_EISA 58 EXPORT_SYMBOL(EISA_bus); 59 #endif 60 EXPORT_SYMBOL(MCA_bus); 61 EXPORT_SYMBOL(__verify_write); 62 EXPORT_SYMBOL(dump_thread); 63 EXPORT_SYMBOL(dump_fpu); 64 EXPORT_SYMBOL(dump_extended_fpu); 65 EXPORT_SYMBOL(__ioremap); 66 EXPORT_SYMBOL(iounmap); 67 EXPORT_SYMBOL(enable_irq); 68 EXPORT_SYMBOL(disable_irq); 69 EXPORT_SYMBOL(disable_irq_nosync); 70 EXPORT_SYMBOL(probe_irq_mask); 71 EXPORT_SYMBOL(kernel_thread); 72 EXPORT_SYMBOL(pm_idle); 73 EXPORT_SYMBOL(pm_power_off); 74 EXPORT_SYMBOL(get_cmos_time); 75 EXPORT_SYMBOL(apm_info); 76 EXPORT_SYMBOL(gdt); 77 EXPORT_SYMBOL(empty_zero_page); 78 79 #ifdef CONFIG_DEBUG_IOVIRT 80 EXPORT_SYMBOL(__io_virt_debug); 81 #endif 82 83 EXPORT_SYMBOL_NOVERS(__down_failed); 84 EXPORT_SYMBOL_NOVERS(__down_failed_interruptible); 85 EXPORT_SYMBOL_NOVERS(__down_failed_trylock); 86 EXPORT_SYMBOL_NOVERS(__up_wakeup); 87 /* Networking helper routines. */ 88 EXPORT_SYMBOL(csum_partial_copy_generic); 89 /* Delay loops */ 90 EXPORT_SYMBOL(__ndelay); 91 EXPORT_SYMBOL(__udelay); 92 EXPORT_SYMBOL(__delay); 93 EXPORT_SYMBOL(__const_udelay); 94 95 EXPORT_SYMBOL_NOVERS(__get_user_1); 96 EXPORT_SYMBOL_NOVERS(__get_user_2); 97 EXPORT_SYMBOL_NOVERS(__get_user_4); 98 99 EXPORT_SYMBOL(strtok); 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(__generic_copy_from_user); 108 EXPORT_SYMBOL(__generic_copy_to_user); 109 EXPORT_SYMBOL(strnlen_user); 110 111 EXPORT_SYMBOL(pci_alloc_consistent); 112 EXPORT_SYMBOL(pci_free_consistent); 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_SMP 131 EXPORT_SYMBOL(cpu_data); 132 EXPORT_SYMBOL(kernel_flag_cacheline); 133 EXPORT_SYMBOL(smp_num_cpus); 134 EXPORT_SYMBOL(cpu_online_map); 135 EXPORT_SYMBOL_NOVERS(__write_lock_failed); 136 EXPORT_SYMBOL_NOVERS(__read_lock_failed); 137 138 /* Global SMP irq stuff */ 139 EXPORT_SYMBOL(synchronize_irq); 140 EXPORT_SYMBOL(global_irq_holder); 141 EXPORT_SYMBOL(__global_cli); 142 EXPORT_SYMBOL(__global_sti); 143 EXPORT_SYMBOL(__global_save_flags); 144 EXPORT_SYMBOL(__global_restore_flags); 145 EXPORT_SYMBOL(smp_call_function); 146 147 /* TLB flushing */ 148 EXPORT_SYMBOL(flush_tlb_page); 149 150 /* HT support */ 151 EXPORT_SYMBOL(smp_num_siblings); 152 EXPORT_SYMBOL(cpu_sibling_map); 153 #endif 154 155 #ifdef CONFIG_X86_IO_APIC 156 EXPORT_SYMBOL(IO_APIC_get_PCI_irq_vector); 157 #endif 158 159 #ifdef CONFIG_MCA 160 EXPORT_SYMBOL(machine_id); 161 #endif 162 163 #ifdef CONFIG_VT 164 EXPORT_SYMBOL(screen_info); 165 #endif 166 167 EXPORT_SYMBOL(get_wchan); 168 169 EXPORT_SYMBOL(rtc_lock); 170 171 #undef memcpy 172 #undef memset 173 #undef memcmp 174 extern void * memset(void *,int,__kernel_size_t); 175 extern void * memcpy(void *,const void *,__kernel_size_t); 176 extern int memcmp(const void * cs,const void * ct,size_t count); 177 EXPORT_SYMBOL_NOVERS(memcmp); 178 EXPORT_SYMBOL_NOVERS(memcpy); 179 EXPORT_SYMBOL_NOVERS(memset); 180 181 #ifdef CONFIG_HAVE_DEC_LOCK 182 EXPORT_SYMBOL(atomic_dec_and_lock); 183 #endif 184 185 extern int is_sony_vaio_laptop; 186 EXPORT_SYMBOL(is_sony_vaio_laptop); 187 188 #ifdef CONFIG_MULTIQUAD 189 EXPORT_SYMBOL(xquad_portio); 190 #endif 191 192 #ifdef CONFIG_EDD_MODULE 193 EXPORT_SYMBOL(edd); 194 EXPORT_SYMBOL(eddnr); 195 EXPORT_SYMBOL(edd_disk80_sig); 196 #endif 197