2019-06-04 08:11:33 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-only
|
2009-03-27 13:25:17 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu>
|
|
|
|
* Copyright (C) 2008-2009 PetaLogix
|
|
|
|
*/
|
|
|
|
|
2013-02-01 12:10:35 +00:00
|
|
|
#include <linux/export.h>
|
2009-03-27 13:25:17 +00:00
|
|
|
#include <linux/string.h>
|
|
|
|
#include <linux/delay.h>
|
|
|
|
#include <linux/in6.h>
|
|
|
|
#include <linux/syscalls.h>
|
|
|
|
|
|
|
|
#include <asm/checksum.h>
|
2010-08-12 11:06:59 +00:00
|
|
|
#include <asm/cacheflush.h>
|
2009-03-27 13:25:17 +00:00
|
|
|
#include <linux/io.h>
|
|
|
|
#include <asm/page.h>
|
2009-11-16 08:40:14 +00:00
|
|
|
#include <linux/ftrace.h>
|
2009-03-27 13:25:17 +00:00
|
|
|
#include <linux/uaccess.h>
|
2024-06-19 12:11:32 +00:00
|
|
|
#include <asm/xilinx_mb_manager.h>
|
2009-03-27 13:25:17 +00:00
|
|
|
|
2009-11-16 08:40:14 +00:00
|
|
|
#ifdef CONFIG_FUNCTION_TRACER
|
|
|
|
extern void _mcount(void);
|
|
|
|
EXPORT_SYMBOL(_mcount);
|
|
|
|
#endif
|
2010-04-27 18:00:35 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Assembly functions that may be used (directly or indirectly) by modules
|
|
|
|
*/
|
|
|
|
EXPORT_SYMBOL(__copy_tofrom_user);
|
|
|
|
|
|
|
|
#ifdef CONFIG_OPT_LIB_ASM
|
|
|
|
EXPORT_SYMBOL(memcpy);
|
|
|
|
EXPORT_SYMBOL(memmove);
|
|
|
|
#endif
|
2010-08-12 11:06:59 +00:00
|
|
|
|
|
|
|
EXPORT_SYMBOL(empty_zero_page);
|
|
|
|
|
|
|
|
EXPORT_SYMBOL(mbc);
|
2011-02-24 14:36:49 +00:00
|
|
|
|
|
|
|
extern void __divsi3(void);
|
|
|
|
EXPORT_SYMBOL(__divsi3);
|
|
|
|
extern void __modsi3(void);
|
|
|
|
EXPORT_SYMBOL(__modsi3);
|
|
|
|
extern void __mulsi3(void);
|
|
|
|
EXPORT_SYMBOL(__mulsi3);
|
|
|
|
extern void __udivsi3(void);
|
|
|
|
EXPORT_SYMBOL(__udivsi3);
|
|
|
|
extern void __umodsi3(void);
|
|
|
|
EXPORT_SYMBOL(__umodsi3);
|
2024-06-19 12:11:32 +00:00
|
|
|
|
|
|
|
#ifdef CONFIG_MB_MANAGER
|
|
|
|
extern void xmb_manager_register(uintptr_t phys_baseaddr, u32 cr_val,
|
|
|
|
void (*callback)(void *data),
|
|
|
|
void *priv, void (*reset_callback)(void *data));
|
|
|
|
EXPORT_SYMBOL(xmb_manager_register);
|
|
|
|
extern asmlinkage void xmb_inject_err(void);
|
|
|
|
EXPORT_SYMBOL(xmb_inject_err);
|
|
|
|
#endif
|