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