1b2441318SGreg Kroah-Hartman // SPDX-License-Identifier: GPL-2.0 24b7be4f2SPaul Mundt #include <linux/module.h> 34c978ca3SPaul Mundt #include <linux/string.h> 44c978ca3SPaul Mundt #include <linux/uaccess.h> 54c978ca3SPaul Mundt #include <linux/delay.h> 64c978ca3SPaul Mundt #include <linux/mm.h> 74b7be4f2SPaul Mundt #include <asm/checksum.h> 84c978ca3SPaul Mundt #include <asm/sections.h> 94b7be4f2SPaul Mundt 104b7be4f2SPaul Mundt EXPORT_SYMBOL(memchr); 114b7be4f2SPaul Mundt EXPORT_SYMBOL(memcpy); 124b7be4f2SPaul Mundt EXPORT_SYMBOL(memset); 134b7be4f2SPaul Mundt EXPORT_SYMBOL(memmove); 144b7be4f2SPaul Mundt EXPORT_SYMBOL(__copy_user); 154b7be4f2SPaul Mundt EXPORT_SYMBOL(__udelay); 164b7be4f2SPaul Mundt EXPORT_SYMBOL(__ndelay); 174b7be4f2SPaul Mundt EXPORT_SYMBOL(__const_udelay); 184c978ca3SPaul Mundt EXPORT_SYMBOL(strlen); 194c978ca3SPaul Mundt EXPORT_SYMBOL(csum_partial); 204c978ca3SPaul Mundt EXPORT_SYMBOL(csum_partial_copy_generic); 214c978ca3SPaul Mundt EXPORT_SYMBOL(copy_page); 224c978ca3SPaul Mundt EXPORT_SYMBOL(__clear_user); 234c978ca3SPaul Mundt EXPORT_SYMBOL(empty_zero_page); 24ad70b029SNobuhiro Iwamatsu #ifdef CONFIG_FLATMEM 25ad70b029SNobuhiro Iwamatsu /* need in pfn_valid macro */ 26ad70b029SNobuhiro Iwamatsu EXPORT_SYMBOL(min_low_pfn); 27ad70b029SNobuhiro Iwamatsu EXPORT_SYMBOL(max_low_pfn); 28ad70b029SNobuhiro Iwamatsu #endif 294b7be4f2SPaul Mundt 308a2fd5f3SPaul Mundt #define DECLARE_EXPORT(name) \ 318a2fd5f3SPaul Mundt extern void name(void);EXPORT_SYMBOL(name) 324b7be4f2SPaul Mundt 339ef10028SPaul Mundt DECLARE_EXPORT(__udivsi3); 349ef10028SPaul Mundt DECLARE_EXPORT(__sdivsi3); 351aad54a9SPaul Mundt DECLARE_EXPORT(__lshrsi3); 364b7be4f2SPaul Mundt DECLARE_EXPORT(__ashrsi3); 374b7be4f2SPaul Mundt DECLARE_EXPORT(__ashlsi3); 38940d4113SYoshinori Sato DECLARE_EXPORT(__lshrsi3_r0); 39940d4113SYoshinori Sato DECLARE_EXPORT(__ashrsi3_r0); 40940d4113SYoshinori Sato DECLARE_EXPORT(__ashlsi3_r0); 41*6410607bSKuninori Morimoto 42*6410607bSKuninori Morimoto DECLARE_EXPORT(__ashiftrt_r4_0); 43*6410607bSKuninori Morimoto DECLARE_EXPORT(__ashiftrt_r4_1); 44*6410607bSKuninori Morimoto DECLARE_EXPORT(__ashiftrt_r4_2); 45*6410607bSKuninori Morimoto DECLARE_EXPORT(__ashiftrt_r4_3); 46*6410607bSKuninori Morimoto DECLARE_EXPORT(__ashiftrt_r4_4); 47*6410607bSKuninori Morimoto DECLARE_EXPORT(__ashiftrt_r4_5); 484b7be4f2SPaul Mundt DECLARE_EXPORT(__ashiftrt_r4_6); 494b7be4f2SPaul Mundt DECLARE_EXPORT(__ashiftrt_r4_7); 504b7be4f2SPaul Mundt DECLARE_EXPORT(__ashiftrt_r4_8); 514b7be4f2SPaul Mundt DECLARE_EXPORT(__ashiftrt_r4_9); 524b7be4f2SPaul Mundt DECLARE_EXPORT(__ashiftrt_r4_10); 534b7be4f2SPaul Mundt DECLARE_EXPORT(__ashiftrt_r4_11); 544b7be4f2SPaul Mundt DECLARE_EXPORT(__ashiftrt_r4_12); 554b7be4f2SPaul Mundt DECLARE_EXPORT(__ashiftrt_r4_13); 564b7be4f2SPaul Mundt DECLARE_EXPORT(__ashiftrt_r4_14); 574b7be4f2SPaul Mundt DECLARE_EXPORT(__ashiftrt_r4_15); 58*6410607bSKuninori Morimoto DECLARE_EXPORT(__ashiftrt_r4_16); 59*6410607bSKuninori Morimoto DECLARE_EXPORT(__ashiftrt_r4_17); 60*6410607bSKuninori Morimoto DECLARE_EXPORT(__ashiftrt_r4_18); 61*6410607bSKuninori Morimoto DECLARE_EXPORT(__ashiftrt_r4_19); 624b7be4f2SPaul Mundt DECLARE_EXPORT(__ashiftrt_r4_20); 634b7be4f2SPaul Mundt DECLARE_EXPORT(__ashiftrt_r4_21); 644b7be4f2SPaul Mundt DECLARE_EXPORT(__ashiftrt_r4_22); 654b7be4f2SPaul Mundt DECLARE_EXPORT(__ashiftrt_r4_23); 664b7be4f2SPaul Mundt DECLARE_EXPORT(__ashiftrt_r4_24); 67*6410607bSKuninori Morimoto DECLARE_EXPORT(__ashiftrt_r4_25); 68*6410607bSKuninori Morimoto DECLARE_EXPORT(__ashiftrt_r4_26); 694b7be4f2SPaul Mundt DECLARE_EXPORT(__ashiftrt_r4_27); 70*6410607bSKuninori Morimoto DECLARE_EXPORT(__ashiftrt_r4_28); 71*6410607bSKuninori Morimoto DECLARE_EXPORT(__ashiftrt_r4_29); 724b7be4f2SPaul Mundt DECLARE_EXPORT(__ashiftrt_r4_30); 73*6410607bSKuninori Morimoto DECLARE_EXPORT(__ashiftrt_r4_31); 74*6410607bSKuninori Morimoto DECLARE_EXPORT(__ashiftrt_r4_32); 751aad54a9SPaul Mundt DECLARE_EXPORT(__movstr); 764b7be4f2SPaul Mundt DECLARE_EXPORT(__movstrSI8); 774b7be4f2SPaul Mundt DECLARE_EXPORT(__movstrSI12); 784b7be4f2SPaul Mundt DECLARE_EXPORT(__movstrSI16); 794b7be4f2SPaul Mundt DECLARE_EXPORT(__movstrSI20); 804b7be4f2SPaul Mundt DECLARE_EXPORT(__movstrSI24); 814b7be4f2SPaul Mundt DECLARE_EXPORT(__movstrSI28); 824b7be4f2SPaul Mundt DECLARE_EXPORT(__movstrSI32); 834b7be4f2SPaul Mundt DECLARE_EXPORT(__movstrSI36); 844b7be4f2SPaul Mundt DECLARE_EXPORT(__movstrSI40); 854b7be4f2SPaul Mundt DECLARE_EXPORT(__movstrSI44); 864b7be4f2SPaul Mundt DECLARE_EXPORT(__movstrSI48); 874b7be4f2SPaul Mundt DECLARE_EXPORT(__movstrSI52); 884b7be4f2SPaul Mundt DECLARE_EXPORT(__movstrSI56); 894b7be4f2SPaul Mundt DECLARE_EXPORT(__movstrSI60); 904b7be4f2SPaul Mundt DECLARE_EXPORT(__movstr_i4_even); 914b7be4f2SPaul Mundt DECLARE_EXPORT(__movstr_i4_odd); 924b7be4f2SPaul Mundt DECLARE_EXPORT(__movstrSI12_i4); 93f16bf3e2SLubomir Rintel DECLARE_EXPORT(__movmem); 9426fadd36SLubomir Rintel DECLARE_EXPORT(__movmemSI8); 9526fadd36SLubomir Rintel DECLARE_EXPORT(__movmemSI12); 9626fadd36SLubomir Rintel DECLARE_EXPORT(__movmemSI16); 9726fadd36SLubomir Rintel DECLARE_EXPORT(__movmemSI20); 9826fadd36SLubomir Rintel DECLARE_EXPORT(__movmemSI24); 9926fadd36SLubomir Rintel DECLARE_EXPORT(__movmemSI28); 10026fadd36SLubomir Rintel DECLARE_EXPORT(__movmemSI32); 10126fadd36SLubomir Rintel DECLARE_EXPORT(__movmemSI36); 10226fadd36SLubomir Rintel DECLARE_EXPORT(__movmemSI40); 10326fadd36SLubomir Rintel DECLARE_EXPORT(__movmemSI44); 10426fadd36SLubomir Rintel DECLARE_EXPORT(__movmemSI48); 10526fadd36SLubomir Rintel DECLARE_EXPORT(__movmemSI52); 10626fadd36SLubomir Rintel DECLARE_EXPORT(__movmemSI56); 10726fadd36SLubomir Rintel DECLARE_EXPORT(__movmemSI60); 108624c6a67SPaul Mundt DECLARE_EXPORT(__movmem_i4_even); 109624c6a67SPaul Mundt DECLARE_EXPORT(__movmem_i4_odd); 110624c6a67SPaul Mundt DECLARE_EXPORT(__movmemSI12_i4); 1111aad54a9SPaul Mundt DECLARE_EXPORT(__udiv_qrnnd_16); 1129ef10028SPaul Mundt DECLARE_EXPORT(__sdivsi3_i4); 1139ef10028SPaul Mundt DECLARE_EXPORT(__udivsi3_i4); 1141aad54a9SPaul Mundt DECLARE_EXPORT(__sdivsi3_i4i); 1151aad54a9SPaul Mundt DECLARE_EXPORT(__udivsi3_i4i); 116473d1cf4SPaul Mundt #ifdef CONFIG_MCOUNT 117fe279320SPaul Mundt DECLARE_EXPORT(mcount); 1189d2b1f81SPaul Mundt #endif 119