From 5d65687612de2acc86818411fff0c5b671c8dd6b Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Wed, 9 Aug 2000 20:55:43 +0000 Subject: Faster memcpy / copy_{from,to}_user. --- include/asm-mips64/string.h | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'include') 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 -- cgit v1.2.3