License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[linux-block.git] / arch / cris / include / asm / string.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
1da177e4
LT
2#ifndef _ASM_CRIS_STRING_H
3#define _ASM_CRIS_STRING_H
4
5/* the optimized memcpy is in arch/cris/lib/string.c */
6
7#define __HAVE_ARCH_MEMCPY
8extern void *memcpy(void *, const void *, size_t);
9
10/* New and improved. In arch/cris/lib/memset.c */
11
12#define __HAVE_ARCH_MEMSET
13extern void *memset(void *, int, size_t);
14
7f2ff23d
JN
15#ifdef CONFIG_ETRAX_ARCH_V32
16/* For v32 we provide strcmp. */
17#define __HAVE_ARCH_STRCMP
18extern int strcmp(const char *s1, const char *s2);
19#endif
20
1da177e4 21#endif