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/vmalloc.h> 12 #include <linux/pci.h> 13 14 #include <asm/semaphore.h> 15 #include <asm/processor.h> 16 #include <asm/uaccess.h> 17 #include <asm/checksum.h> 18 #include <asm/io.h> 19 #include <asm/hardirq.h> 20 #include <asm/delay.h> 21 #include <asm/pgalloc.h> 22 #include <asm/div64.h> 23 #include <linux/irq.h> 24 25 extern void dump_thread(struct pt_regs *, struct user *); 26 extern int dump_fpu(elf_fpregset_t *); 27 extern struct hw_interrupt_type no_irq_type; 28 29 /* platform dependent support */ 30 EXPORT_SYMBOL(dump_thread); 31 EXPORT_SYMBOL(dump_fpu); 32 EXPORT_SYMBOL(iounmap); 33 EXPORT_SYMBOL(enable_irq); 34 EXPORT_SYMBOL(disable_irq); 35 EXPORT_SYMBOL(kernel_thread); 36 EXPORT_SYMBOL(disable_irq_nosync); 37 EXPORT_SYMBOL(irq_desc); 38 EXPORT_SYMBOL(no_irq_type); 39 40 /* Networking helper routines. */ 41 EXPORT_SYMBOL(csum_partial_copy); 42 EXPORT_SYMBOL(csum_partial_copy_generic); 43 44 EXPORT_SYMBOL(strtok); 45 EXPORT_SYMBOL(strpbrk); 46 EXPORT_SYMBOL(strstr); 47 EXPORT_SYMBOL(strlen); 48 EXPORT_SYMBOL(strnlen); 49 EXPORT_SYMBOL(strchr); 50 EXPORT_SYMBOL(strrchr); 51 EXPORT_SYMBOL(strcat); 52 EXPORT_SYMBOL(strncat); 53 54 /* PCI exports */ 55 #ifdef CONFIG_PCI 56 EXPORT_SYMBOL(pci_alloc_consistent); 57 EXPORT_SYMBOL(pci_free_consistent); 58 EXPORT_SYMBOL(pcibios_penalize_isa_irq); 59 #endif 60 61 /* mem exports */ 62 EXPORT_SYMBOL(memscan); 63 EXPORT_SYMBOL(memchr); 64 EXPORT_SYMBOL(memcpy); 65 EXPORT_SYMBOL(memcpy_fromio); 66 EXPORT_SYMBOL(memcpy_toio); 67 EXPORT_SYMBOL(memset); 68 EXPORT_SYMBOL(memset_io); 69 EXPORT_SYMBOL(memmove); 70 EXPORT_SYMBOL(memcmp); 71 EXPORT_SYMBOL(__copy_user); 72 73 #ifdef CONFIG_VT 74 EXPORT_SYMBOL(screen_info); 75 #endif 76 77 EXPORT_SYMBOL(boot_cpu_data); 78 79 EXPORT_SYMBOL(get_vm_area); 80 81 /* semaphore exports */ 82 EXPORT_SYMBOL(__up); 83 EXPORT_SYMBOL(__down); 84 EXPORT_SYMBOL(__down_interruptible); 85 EXPORT_SYMBOL(__down_trylock); 86 87 /* Delay loops */ 88 EXPORT_SYMBOL(__ndelay); 89 EXPORT_SYMBOL(__udelay); 90 EXPORT_SYMBOL(__const_udelay); 91 92 #define DECLARE_EXPORT(name) extern void name(void);EXPORT_SYMBOL_NOVERS(name) 93 94 /* These symbols are generated by the compiler itself */ 95 DECLARE_EXPORT(__udivsi3); 96 DECLARE_EXPORT(__sdivsi3); 97 DECLARE_EXPORT(__ashrdi3); 98 DECLARE_EXPORT(__ashldi3); 99 DECLARE_EXPORT(__lshrdi3); 100 DECLARE_EXPORT(__movstr); 101 102 #ifdef __SH4__ 103 104 DECLARE_EXPORT(__movstr_i4_even); 105 DECLARE_EXPORT(__movstr_i4_odd); 106 107 /* needed by some modules */ 108 EXPORT_SYMBOL(flush_cache_all); 109 EXPORT_SYMBOL(flush_cache_range); 110 EXPORT_SYMBOL(flush_dcache_page); 111 #endif 112 EXPORT_SYMBOL(flush_tlb_page); 113 EXPORT_SYMBOL(__xdiv64_32); 114