summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/string.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1998-03-25 00:24:10 +0000
committerRalf Baechle <ralf@linux-mips.org>1998-03-25 00:24:10 +0000
commitf7f4aaffdad04eb69ab618c771df0416ad04a952 (patch)
tree33ba34893fe5ab7795922f8d7ce3be30237084c3 /include/asm-mips/string.h
parentcc858f6e51f21ecda51f60b595eae308f032566c (diff)
Undo accidential edits.
Diffstat (limited to 'include/asm-mips/string.h')
-rw-r--r--include/asm-mips/string.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/include/asm-mips/string.h b/include/asm-mips/string.h
index 37de75952..39e6b445c 100644
--- a/include/asm-mips/string.h
+++ b/include/asm-mips/string.h
@@ -7,7 +7,7 @@
*
* Copyright (c) 1994, 1995, 1996, 1997 by Ralf Baechle
*
- * $Id: string.h,v 1.5 1998/03/22 23:27:20 ralf Exp $
+ * $Id: string.h,v 1.4 1998/03/21 19:31:09 ralf Exp $
*/
#ifndef __ASM_MIPS_STRING_H
#define __ASM_MIPS_STRING_H
@@ -45,14 +45,6 @@ extern __inline__ char *strncpy(char *__dest, __const__ char *__src, size_t __n)
__asm__ __volatile__(
".set\tnoreorder\n\t"
".set\tnoat\n"
-1: beq %0,%1,2f
- lb $1,(%1)
- addiu %1,1
- sb $1,(%0)
- addiu %0,1
-
-
-
"1:\tlbu\t$1,(%1)\n\t"
"subu\t%2,1\n\t"
"sb\t$1,(%0)\n\t"