Linux 3.8-rc7
[cris-mirror.git] / arch / unicore32 / include / asm / string.h
blob55264c84369a52138e06bb8e89c000ac0cfd7414
1 /*
2 * linux/arch/unicore32/include/asm/string.h
4 * Code specific to PKUnity SoC and UniCore ISA
6 * Copyright (C) 2001-2010 GUAN Xue-tao
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
12 #ifndef __UNICORE_STRING_H__
13 #define __UNICORE_STRING_H__
16 * We don't do inline string functions, since the
17 * optimised inline asm versions are not small.
20 #define __HAVE_ARCH_STRRCHR
21 extern char *strrchr(const char *s, int c);
23 #define __HAVE_ARCH_STRCHR
24 extern char *strchr(const char *s, int c);
26 #define __HAVE_ARCH_MEMCPY
27 extern void *memcpy(void *, const void *, __kernel_size_t);
29 #define __HAVE_ARCH_MEMMOVE
30 extern void *memmove(void *, const void *, __kernel_size_t);
32 #define __HAVE_ARCH_MEMCHR
33 extern void *memchr(const void *, int, __kernel_size_t);
35 #define __HAVE_ARCH_MEMSET
36 extern void *memset(void *, int, __kernel_size_t);
38 #endif