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 32extern void dump_thread(struct pt_regs *, struct user *); 33extern spinlock_t rtc_lock; 34 35#if defined(CONFIG_APM) || defined(CONFIG_APM_MODULE) 36extern void machine_real_restart(unsigned char *, int); 37EXPORT_SYMBOL(machine_real_restart); 38extern void default_idle(void); 39EXPORT_SYMBOL(default_idle); 40#endif 41 42#ifdef CONFIG_SMP 43extern void FASTCALL( __write_lock_failed(rwlock_t *rw)); 44extern void FASTCALL( __read_lock_failed(rwlock_t *rw)); 45#endif 46 47#if defined(CONFIG_BLK_DEV_IDE) || defined(CONFIG_BLK_DEV_HD) || defined(CONFIG_BLK_DEV_IDE_MODULE) || defined(CONFIG_BLK_DEV_HD_MODULE) 48extern struct drive_info_struct drive_info; 49EXPORT_SYMBOL(drive_info); 50#endif 51 52extern unsigned long get_cmos_time(void); 53 54/* platform dependent support */ 55EXPORT_SYMBOL(boot_cpu_data); 56#ifdef CONFIG_EISA 57EXPORT_SYMBOL(EISA_bus); 58#endif 59EXPORT_SYMBOL(MCA_bus); 60EXPORT_SYMBOL(__verify_write); 61EXPORT_SYMBOL(dump_thread); 62EXPORT_SYMBOL(dump_fpu); 63EXPORT_SYMBOL(dump_extended_fpu); 64EXPORT_SYMBOL(__ioremap); 65EXPORT_SYMBOL(iounmap); 66EXPORT_SYMBOL(enable_irq); 67EXPORT_SYMBOL(disable_irq); 68EXPORT_SYMBOL(disable_irq_nosync); 69EXPORT_SYMBOL(probe_irq_mask); 70EXPORT_SYMBOL(kernel_thread); 71EXPORT_SYMBOL(pm_idle); 72EXPORT_SYMBOL(pm_power_off); 73EXPORT_SYMBOL(get_cmos_time); 74EXPORT_SYMBOL(apm_info); 75EXPORT_SYMBOL(gdt); 76EXPORT_SYMBOL(empty_zero_page); 77 78#ifdef CONFIG_DEBUG_IOVIRT 79EXPORT_SYMBOL(__io_virt_debug); 80#endif 81 82EXPORT_SYMBOL_NOVERS(__down_failed); 83EXPORT_SYMBOL_NOVERS(__down_failed_interruptible); 84EXPORT_SYMBOL_NOVERS(__down_failed_trylock); 85EXPORT_SYMBOL_NOVERS(__up_wakeup); 86/* Networking helper routines. */ 87EXPORT_SYMBOL(csum_partial_copy_generic); 88/* Delay loops */ 89EXPORT_SYMBOL(__ndelay); 90EXPORT_SYMBOL(__udelay); 91EXPORT_SYMBOL(__delay); 92EXPORT_SYMBOL(__const_udelay); 93 94EXPORT_SYMBOL_NOVERS(__get_user_1); 95EXPORT_SYMBOL_NOVERS(__get_user_2); 96EXPORT_SYMBOL_NOVERS(__get_user_4); 97 98EXPORT_SYMBOL(strtok); 99EXPORT_SYMBOL(strpbrk); 100EXPORT_SYMBOL(strstr); 101 102EXPORT_SYMBOL(strncpy_from_user); 103EXPORT_SYMBOL(__strncpy_from_user); 104EXPORT_SYMBOL(clear_user); 105EXPORT_SYMBOL(__clear_user); 106EXPORT_SYMBOL(__generic_copy_from_user); 107EXPORT_SYMBOL(__generic_copy_to_user); 108EXPORT_SYMBOL(strnlen_user); 109 110EXPORT_SYMBOL(pci_alloc_consistent); 111EXPORT_SYMBOL(pci_free_consistent); 112 113#ifdef CONFIG_PCI 114EXPORT_SYMBOL(pcibios_penalize_isa_irq); 115EXPORT_SYMBOL(pci_mem_start); 116#endif 117 118#ifdef CONFIG_PCI_BIOS 119EXPORT_SYMBOL(pcibios_set_irq_routing); 120EXPORT_SYMBOL(pcibios_get_irq_routing_table); 121#endif 122 123#ifdef CONFIG_X86_USE_3DNOW 124EXPORT_SYMBOL(_mmx_memcpy); 125EXPORT_SYMBOL(mmx_clear_page); 126EXPORT_SYMBOL(mmx_copy_page); 127#endif 128 129#ifdef CONFIG_SMP 130EXPORT_SYMBOL(cpu_data); 131EXPORT_SYMBOL(kernel_flag_cacheline); 132EXPORT_SYMBOL(smp_num_cpus); 133EXPORT_SYMBOL(cpu_online_map); 134EXPORT_SYMBOL_NOVERS(__write_lock_failed); 135EXPORT_SYMBOL_NOVERS(__read_lock_failed); 136 137/* Global SMP irq stuff */ 138EXPORT_SYMBOL(synchronize_irq); 139EXPORT_SYMBOL(global_irq_holder); 140EXPORT_SYMBOL(__global_cli); 141EXPORT_SYMBOL(__global_sti); 142EXPORT_SYMBOL(__global_save_flags); 143EXPORT_SYMBOL(__global_restore_flags); 144EXPORT_SYMBOL(smp_call_function); 145 146/* TLB flushing */ 147EXPORT_SYMBOL(flush_tlb_page); 148#endif 149 150#ifdef CONFIG_X86_IO_APIC 151EXPORT_SYMBOL(IO_APIC_get_PCI_irq_vector); 152#endif 153 154#ifdef CONFIG_MCA 155EXPORT_SYMBOL(machine_id); 156#endif 157 158#ifdef CONFIG_VT 159EXPORT_SYMBOL(screen_info); 160#endif 161 162EXPORT_SYMBOL(get_wchan); 163 164EXPORT_SYMBOL(rtc_lock); 165 166#undef memcpy 167#undef memset 168extern void * memset(void *,int,__kernel_size_t); 169extern void * memcpy(void *,const void *,__kernel_size_t); 170EXPORT_SYMBOL_NOVERS(memcpy); 171EXPORT_SYMBOL_NOVERS(memset); 172 173#ifdef CONFIG_HAVE_DEC_LOCK 174EXPORT_SYMBOL(atomic_dec_and_lock); 175#endif 176 177extern int is_sony_vaio_laptop; 178EXPORT_SYMBOL(is_sony_vaio_laptop); 179 180#ifdef CONFIG_MULTIQUAD 181EXPORT_SYMBOL(xquad_portio); 182#endif 183

