xref: /linux/arch/microblaze/include/asm/string.h (revision 24168c5e6dfbdd5b414f048f47f75d64533296ca)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (C) 2006 Atmark Techno, Inc.
4  */
5 
6 #ifndef _ASM_MICROBLAZE_STRING_H
7 #define _ASM_MICROBLAZE_STRING_H
8 
9 #ifdef __KERNEL__
10 
11 #ifdef CONFIG_OPT_LIB_FUNCTION
12 #define __HAVE_ARCH_MEMSET
13 #define __HAVE_ARCH_MEMCPY
14 #define __HAVE_ARCH_MEMMOVE
15 
16 extern void *memset(void *, int, __kernel_size_t);
17 extern void *memcpy(void *, const void *, __kernel_size_t);
18 extern void *memmove(void *, const void *, __kernel_size_t);
19 #endif
20 
21 #endif /* __KERNEL__ */
22 
23 #endif /* _ASM_MICROBLAZE_STRING_H */
24