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 #include <asm/xilinx_mb_manager.h> 20 21 #ifdef CONFIG_FUNCTION_TRACER 22 extern void _mcount(void); 23 EXPORT_SYMBOL(_mcount); 24 #endif 25 26 /* 27 * Assembly functions that may be used (directly or indirectly) by modules 28 */ 29 EXPORT_SYMBOL(__copy_tofrom_user); 30 31 #ifdef CONFIG_OPT_LIB_ASM 32 EXPORT_SYMBOL(memcpy); 33 EXPORT_SYMBOL(memmove); 34 #endif 35 36 EXPORT_SYMBOL(empty_zero_page); 37 38 EXPORT_SYMBOL(mbc); 39 40 extern void __divsi3(void); 41 EXPORT_SYMBOL(__divsi3); 42 extern void __modsi3(void); 43 EXPORT_SYMBOL(__modsi3); 44 extern void __mulsi3(void); 45 EXPORT_SYMBOL(__mulsi3); 46 extern void __udivsi3(void); 47 EXPORT_SYMBOL(__udivsi3); 48 extern void __umodsi3(void); 49 EXPORT_SYMBOL(__umodsi3); 50 51 #ifdef CONFIG_MB_MANAGER 52 extern void xmb_manager_register(uintptr_t phys_baseaddr, u32 cr_val, 53 void (*callback)(void *data), 54 void *priv, void (*reset_callback)(void *data)); 55 EXPORT_SYMBOL(xmb_manager_register); 56 extern asmlinkage void xmb_inject_err(void); 57 EXPORT_SYMBOL(xmb_inject_err); 58 #endif 59