1 #include <linux/module.h> 2 #include <linux/smp.h> 3 #include <linux/user.h> 4 #include <linux/elfcore.h> 5 #include <linux/sched.h> 6 #include <linux/in6.h> 7 #include <linux/interrupt.h> 8 #include <linux/vmalloc.h> 9 #include <linux/pci.h> 10 #include <linux/irq.h> 11 #include <asm/sections.h> 12 #include <asm/processor.h> 13 #include <asm/uaccess.h> 14 #include <asm/checksum.h> 15 #include <asm/io.h> 16 #include <asm/delay.h> 17 #include <asm/tlbflush.h> 18 #include <asm/cacheflush.h> 19 #include <asm/ftrace.h> 20 21 extern int dump_fpu(struct pt_regs *, elf_fpregset_t *); 22 23 /* platform dependent support */ 24 EXPORT_SYMBOL(dump_fpu); 25 EXPORT_SYMBOL(kernel_thread); 26 EXPORT_SYMBOL(strlen); 27 28 /* PCI exports */ 29 #ifdef CONFIG_PCI 30 EXPORT_SYMBOL(pci_alloc_consistent); 31 EXPORT_SYMBOL(pci_free_consistent); 32 #endif 33 34 /* mem exports */ 35 EXPORT_SYMBOL(memchr); 36 EXPORT_SYMBOL(memcpy); 37 EXPORT_SYMBOL(memset); 38 EXPORT_SYMBOL(memmove); 39 EXPORT_SYMBOL(__copy_user); 40 EXPORT_SYMBOL(__udelay); 41 EXPORT_SYMBOL(__ndelay); 42 EXPORT_SYMBOL(__const_udelay); 43 44 #define DECLARE_EXPORT(name) \ 45 extern void name(void);EXPORT_SYMBOL(name) 46 47 DECLARE_EXPORT(__udivsi3); 48 DECLARE_EXPORT(__sdivsi3); 49 DECLARE_EXPORT(__lshrsi3); 50 DECLARE_EXPORT(__ashrsi3); 51 DECLARE_EXPORT(__ashlsi3); 52 DECLARE_EXPORT(__ashiftrt_r4_6); 53 DECLARE_EXPORT(__ashiftrt_r4_7); 54 DECLARE_EXPORT(__ashiftrt_r4_8); 55 DECLARE_EXPORT(__ashiftrt_r4_9); 56 DECLARE_EXPORT(__ashiftrt_r4_10); 57 DECLARE_EXPORT(__ashiftrt_r4_11); 58 DECLARE_EXPORT(__ashiftrt_r4_12); 59 DECLARE_EXPORT(__ashiftrt_r4_13); 60 DECLARE_EXPORT(__ashiftrt_r4_14); 61 DECLARE_EXPORT(__ashiftrt_r4_15); 62 DECLARE_EXPORT(__ashiftrt_r4_20); 63 DECLARE_EXPORT(__ashiftrt_r4_21); 64 DECLARE_EXPORT(__ashiftrt_r4_22); 65 DECLARE_EXPORT(__ashiftrt_r4_23); 66 DECLARE_EXPORT(__ashiftrt_r4_24); 67 DECLARE_EXPORT(__ashiftrt_r4_27); 68 DECLARE_EXPORT(__ashiftrt_r4_30); 69 DECLARE_EXPORT(__movstr); 70 DECLARE_EXPORT(__movstrSI8); 71 DECLARE_EXPORT(__movstrSI12); 72 DECLARE_EXPORT(__movstrSI16); 73 DECLARE_EXPORT(__movstrSI20); 74 DECLARE_EXPORT(__movstrSI24); 75 DECLARE_EXPORT(__movstrSI28); 76 DECLARE_EXPORT(__movstrSI32); 77 DECLARE_EXPORT(__movstrSI36); 78 DECLARE_EXPORT(__movstrSI40); 79 DECLARE_EXPORT(__movstrSI44); 80 DECLARE_EXPORT(__movstrSI48); 81 DECLARE_EXPORT(__movstrSI52); 82 DECLARE_EXPORT(__movstrSI56); 83 DECLARE_EXPORT(__movstrSI60); 84 DECLARE_EXPORT(__movstr_i4_even); 85 DECLARE_EXPORT(__movstr_i4_odd); 86 DECLARE_EXPORT(__movstrSI12_i4); 87 DECLARE_EXPORT(__movmem); 88 DECLARE_EXPORT(__movmemSI8); 89 DECLARE_EXPORT(__movmemSI12); 90 DECLARE_EXPORT(__movmemSI16); 91 DECLARE_EXPORT(__movmemSI20); 92 DECLARE_EXPORT(__movmemSI24); 93 DECLARE_EXPORT(__movmemSI28); 94 DECLARE_EXPORT(__movmemSI32); 95 DECLARE_EXPORT(__movmemSI36); 96 DECLARE_EXPORT(__movmemSI40); 97 DECLARE_EXPORT(__movmemSI44); 98 DECLARE_EXPORT(__movmemSI48); 99 DECLARE_EXPORT(__movmemSI52); 100 DECLARE_EXPORT(__movmemSI56); 101 DECLARE_EXPORT(__movmemSI60); 102 DECLARE_EXPORT(__movmem_i4_even); 103 DECLARE_EXPORT(__movmem_i4_odd); 104 DECLARE_EXPORT(__movmemSI12_i4); 105 DECLARE_EXPORT(__udiv_qrnnd_16); 106 DECLARE_EXPORT(__sdivsi3_i4); 107 DECLARE_EXPORT(__udivsi3_i4); 108 DECLARE_EXPORT(__sdivsi3_i4i); 109 DECLARE_EXPORT(__udivsi3_i4i); 110 111 #if !defined(CONFIG_CACHE_OFF) && (defined(CONFIG_CPU_SH4) || \ 112 defined(CONFIG_SH7705_CACHE_32KB)) 113 /* needed by some modules */ 114 EXPORT_SYMBOL(flush_cache_all); 115 EXPORT_SYMBOL(flush_cache_range); 116 EXPORT_SYMBOL(flush_dcache_page); 117 #endif 118 119 #ifdef CONFIG_MCOUNT 120 DECLARE_EXPORT(mcount); 121 #endif 122 EXPORT_SYMBOL(csum_partial); 123 EXPORT_SYMBOL(csum_partial_copy_generic); 124 #ifdef CONFIG_IPV6 125 EXPORT_SYMBOL(csum_ipv6_magic); 126 #endif 127 EXPORT_SYMBOL(copy_page); 128 EXPORT_SYMBOL(__clear_user); 129 EXPORT_SYMBOL(_ebss); 130 EXPORT_SYMBOL(empty_zero_page); 131 132 #ifndef CONFIG_CACHE_OFF 133 EXPORT_SYMBOL(__flush_purge_region); 134 EXPORT_SYMBOL(__flush_wback_region); 135 EXPORT_SYMBOL(__flush_invalidate_region); 136 #endif 137