1 // SPDX-License-Identifier: GPL-2.0-only
2 /*
3  * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu>
4  * Copyright (C) 2008-2009 PetaLogix
5  */
6 
7 #include <linux/export.h>
8 #include <linux/string.h>
9 #include <linux/delay.h>
10 #include <linux/in6.h>
11 #include <linux/syscalls.h>
12 
13 #include <asm/checksum.h>
14 #include <asm/cacheflush.h>
15 #include <linux/io.h>
16 #include <asm/page.h>
17 #include <linux/ftrace.h>
18 #include <linux/uaccess.h>
19 
20 #ifdef CONFIG_FUNCTION_TRACER
21 extern void _mcount(void);
22 EXPORT_SYMBOL(_mcount);
23 #endif
24 
25 /*
26  * Assembly functions that may be used (directly or indirectly) by modules
27  */
28 EXPORT_SYMBOL(__copy_tofrom_user);
29 
30 #ifdef CONFIG_OPT_LIB_ASM
31 EXPORT_SYMBOL(memcpy);
32 EXPORT_SYMBOL(memmove);
33 #endif
34 
35 EXPORT_SYMBOL(empty_zero_page);
36 
37 EXPORT_SYMBOL(mbc);
38 
39 extern void __divsi3(void);
40 EXPORT_SYMBOL(__divsi3);
41 extern void __modsi3(void);
42 EXPORT_SYMBOL(__modsi3);
43 extern void __mulsi3(void);
44 EXPORT_SYMBOL(__mulsi3);
45 extern void __udivsi3(void);
46 EXPORT_SYMBOL(__udivsi3);
47 extern void __umodsi3(void);
48 EXPORT_SYMBOL(__umodsi3);
49