diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-08-09 20:55:43 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-08-09 20:55:43 +0000 |
commit | 5d65687612de2acc86818411fff0c5b671c8dd6b (patch) | |
tree | 926f1de633a968a0e77f8e04094f08970560576e /include | |
parent | 099b944337095701220aa74012620a1d22e59ec0 (diff) |
Faster memcpy / copy_{from,to}_user.
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-mips64/string.h | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/include/asm-mips64/string.h b/include/asm-mips64/string.h index 45680b78a..6fe105f98 100644 --- a/include/asm-mips64/string.h +++ b/include/asm-mips64/string.h @@ -1,13 +1,10 @@ -/* $Id: string.h,v 1.3 1999/12/04 03:59:12 ralf Exp $ - * +/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * - * Copyright (c) 1994, 1995, 1996, 1997, 1998 by Ralf Baechle - * - * XXX For now I'm too lazy to fix the string functions, let's rely on the - * generic stuff. + * Copyright (c) 1994 - 2000 by Ralf Baechle + * Copyright (c) 2000 by Silicon Graphics, Inc. */ #ifndef _ASM_STRING_H #define _ASM_STRING_H @@ -15,11 +12,11 @@ #define __HAVE_ARCH_MEMSET extern void *memset(void *__s, int __c, size_t __count); -#undef __HAVE_ARCH_MEMCPY -//extern void *memcpy(void *__to, __const__ void *__from, size_t __n); +#define __HAVE_ARCH_MEMCPY +extern void *memcpy(void *__to, __const__ void *__from, size_t __n); -#undef __HAVE_ARCH_MEMMOVE -//extern void *memmove(void *__dest, __const__ void *__src, size_t __n); +#define __HAVE_ARCH_MEMMOVE +extern void *memmove(void *__dest, __const__ void *__src, size_t __n); /* Don't build bcopy at all ... */ #define __HAVE_ARCH_BCOPY |