xref: /openbmc/linux/arch/ia64/include/asm/string.h (revision 3cf3cdea)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_IA64_STRING_H
3 #define _ASM_IA64_STRING_H
4 
5 /*
6  * Here is where we want to put optimized versions of the string
7  * routines.
8  *
9  * Copyright (C) 1998-2000, 2002 Hewlett-Packard Co
10  *	David Mosberger-Tang <davidm@hpl.hp.com>
11  */
12 
13 
14 #define __HAVE_ARCH_STRLEN	1 /* see arch/ia64/lib/strlen.S */
15 #define __HAVE_ARCH_MEMSET	1 /* see arch/ia64/lib/memset.S */
16 #define __HAVE_ARCH_MEMCPY	1 /* see arch/ia64/lib/memcpy.S */
17 
18 extern __kernel_size_t strlen (const char *);
19 extern void *memcpy (void *, const void *, __kernel_size_t);
20 extern void *memset (void *, int, __kernel_size_t);
21 
22 #endif /* _ASM_IA64_STRING_H */
23