x86/speculation/mds: Fix documentation typo
[linux/fpc-iii.git] / arch / blackfin / include / asm / string.h
blob423c099aa988f6749e7c4a55479c4141b52ef818
1 /*
2 * Copyright 2004-2008 Analog Devices Inc.
4 * Licensed under the GPL-2 or later.
5 */
7 #ifndef _BLACKFIN_STRING_H_
8 #define _BLACKFIN_STRING_H_
10 #include <linux/types.h>
12 #ifdef __KERNEL__ /* only set these up for kernel code */
14 #define __HAVE_ARCH_STRCPY
15 extern char *strcpy(char *dest, const char *src);
17 #define __HAVE_ARCH_STRNCPY
18 extern char *strncpy(char *dest, const char *src, size_t n);
20 #define __HAVE_ARCH_STRCMP
21 extern int strcmp(const char *cs, const char *ct);
23 #define __HAVE_ARCH_STRNCMP
24 extern int strncmp(const char *cs, const char *ct, size_t count);
26 #define __HAVE_ARCH_MEMSET
27 extern void *memset(void *s, int c, size_t count);
28 #define __HAVE_ARCH_MEMCPY
29 extern void *memcpy(void *d, const void *s, size_t count);
30 #define __HAVE_ARCH_MEMCMP
31 extern int memcmp(const void *, const void *, __kernel_size_t);
32 #define __HAVE_ARCH_MEMCHR
33 extern void *memchr(const void *s, int c, size_t n);
34 #define __HAVE_ARCH_MEMMOVE
35 extern void *memmove(void *dest, const void *src, size_t count);
37 #endif /*__KERNEL__*/
38 #endif /* _BLACKFIN_STRING_H_ */