1 // SPDX-License-Identifier: GPL-2.0 2 #include <linux/module.h> 3 #include <linux/string.h> 4 #include <linux/uaccess.h> 5 #include <linux/delay.h> 6 #include <linux/mm.h> 7 #include <asm/checksum.h> 8 #include <asm/sections.h> 9 10 EXPORT_SYMBOL(memchr); 11 EXPORT_SYMBOL(memcpy); 12 EXPORT_SYMBOL(memset); 13 EXPORT_SYMBOL(memmove); 14 EXPORT_SYMBOL(__copy_user); 15 EXPORT_SYMBOL(__udelay); 16 EXPORT_SYMBOL(__ndelay); 17 EXPORT_SYMBOL(__const_udelay); 18 EXPORT_SYMBOL(strlen); 19 EXPORT_SYMBOL(csum_partial); 20 EXPORT_SYMBOL(csum_partial_copy_generic); 21 EXPORT_SYMBOL(copy_page); 22 EXPORT_SYMBOL(__clear_user); 23 EXPORT_SYMBOL(empty_zero_page); 24 #ifdef CONFIG_FLATMEM 25 /* need in pfn_valid macro */ 26 EXPORT_SYMBOL(min_low_pfn); 27 EXPORT_SYMBOL(max_low_pfn); 28 #endif 29 30 #define DECLARE_EXPORT(name) \ 31 extern void name(void);EXPORT_SYMBOL(name) 32 33 DECLARE_EXPORT(__udivsi3); 34 DECLARE_EXPORT(__sdivsi3); 35 DECLARE_EXPORT(__lshrsi3); 36 DECLARE_EXPORT(__ashrsi3); 37 DECLARE_EXPORT(__ashlsi3); 38 DECLARE_EXPORT(__lshrsi3_r0); 39 DECLARE_EXPORT(__ashrsi3_r0); 40 DECLARE_EXPORT(__ashlsi3_r0); 41 DECLARE_EXPORT(__ashiftrt_r4_6); 42 DECLARE_EXPORT(__ashiftrt_r4_7); 43 DECLARE_EXPORT(__ashiftrt_r4_8); 44 DECLARE_EXPORT(__ashiftrt_r4_9); 45 DECLARE_EXPORT(__ashiftrt_r4_10); 46 DECLARE_EXPORT(__ashiftrt_r4_11); 47 DECLARE_EXPORT(__ashiftrt_r4_12); 48 DECLARE_EXPORT(__ashiftrt_r4_13); 49 DECLARE_EXPORT(__ashiftrt_r4_14); 50 DECLARE_EXPORT(__ashiftrt_r4_15); 51 DECLARE_EXPORT(__ashiftrt_r4_20); 52 DECLARE_EXPORT(__ashiftrt_r4_21); 53 DECLARE_EXPORT(__ashiftrt_r4_22); 54 DECLARE_EXPORT(__ashiftrt_r4_23); 55 DECLARE_EXPORT(__ashiftrt_r4_24); 56 DECLARE_EXPORT(__ashiftrt_r4_27); 57 DECLARE_EXPORT(__ashiftrt_r4_30); 58 DECLARE_EXPORT(__movstr); 59 DECLARE_EXPORT(__movstrSI8); 60 DECLARE_EXPORT(__movstrSI12); 61 DECLARE_EXPORT(__movstrSI16); 62 DECLARE_EXPORT(__movstrSI20); 63 DECLARE_EXPORT(__movstrSI24); 64 DECLARE_EXPORT(__movstrSI28); 65 DECLARE_EXPORT(__movstrSI32); 66 DECLARE_EXPORT(__movstrSI36); 67 DECLARE_EXPORT(__movstrSI40); 68 DECLARE_EXPORT(__movstrSI44); 69 DECLARE_EXPORT(__movstrSI48); 70 DECLARE_EXPORT(__movstrSI52); 71 DECLARE_EXPORT(__movstrSI56); 72 DECLARE_EXPORT(__movstrSI60); 73 DECLARE_EXPORT(__movstr_i4_even); 74 DECLARE_EXPORT(__movstr_i4_odd); 75 DECLARE_EXPORT(__movstrSI12_i4); 76 DECLARE_EXPORT(__movmem); 77 DECLARE_EXPORT(__movmemSI8); 78 DECLARE_EXPORT(__movmemSI12); 79 DECLARE_EXPORT(__movmemSI16); 80 DECLARE_EXPORT(__movmemSI20); 81 DECLARE_EXPORT(__movmemSI24); 82 DECLARE_EXPORT(__movmemSI28); 83 DECLARE_EXPORT(__movmemSI32); 84 DECLARE_EXPORT(__movmemSI36); 85 DECLARE_EXPORT(__movmemSI40); 86 DECLARE_EXPORT(__movmemSI44); 87 DECLARE_EXPORT(__movmemSI48); 88 DECLARE_EXPORT(__movmemSI52); 89 DECLARE_EXPORT(__movmemSI56); 90 DECLARE_EXPORT(__movmemSI60); 91 DECLARE_EXPORT(__movmem_i4_even); 92 DECLARE_EXPORT(__movmem_i4_odd); 93 DECLARE_EXPORT(__movmemSI12_i4); 94 DECLARE_EXPORT(__udiv_qrnnd_16); 95 DECLARE_EXPORT(__sdivsi3_i4); 96 DECLARE_EXPORT(__udivsi3_i4); 97 DECLARE_EXPORT(__sdivsi3_i4i); 98 DECLARE_EXPORT(__udivsi3_i4i); 99 #ifdef CONFIG_MCOUNT 100 DECLARE_EXPORT(mcount); 101 #endif 102