xref: /openbmc/linux/arch/hexagon/include/asm/string.h (revision e7bae9bb)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
4  */
5 
6 #ifndef _ASM_STRING_H_
7 #define _ASM_STRING_H_
8 
9 #ifdef __KERNEL__
10 #define __HAVE_ARCH_MEMCPY
11 extern void *memcpy(void *__to, __const__ void *__from, size_t __n);
12 
13 /*  ToDo:  use dczeroa, accelerate the compiler-constant zero case  */
14 #define __HAVE_ARCH_MEMSET
15 extern void *memset(void *__to, int c, size_t __n);
16 #endif
17 
18 
19 #endif /* _ASM_STRING_H_ */
20