xref: /linux/arch/loongarch/include/asm/string.h (revision 0526b56cbc3c489642bd6a5fe4b718dea7ef0ee8)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (C) 2020-2022 Loongson Technology Corporation Limited
4  */
5 #ifndef _ASM_STRING_H
6 #define _ASM_STRING_H
7 
8 #define __HAVE_ARCH_MEMSET
9 extern void *memset(void *__s, int __c, size_t __count);
10 
11 #define __HAVE_ARCH_MEMCPY
12 extern void *memcpy(void *__to, __const__ void *__from, size_t __n);
13 
14 #define __HAVE_ARCH_MEMMOVE
15 extern void *memmove(void *__dest, __const__ void *__src, size_t __n);
16 
17 #endif /* _ASM_STRING_H */
18