summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2001-03-18 00:46:21 +0000
committerRalf Baechle <ralf@linux-mips.org>2001-03-18 00:46:21 +0000
commitc66599c66b70d522363bceb2dec263e76470a3c8 (patch)
tree0015e2287a55cec58161278fe50efd15bf033076 /arch
parent6c3e956d82f64171ec9f15cd5e2ca92a4e1ce4f5 (diff)
Fix typo which made r4k_copy_page_d16 corrupt data when copying.
Diffstat (limited to 'arch')
-rw-r--r--arch/mips64/mm/r4xx0.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips64/mm/r4xx0.c b/arch/mips64/mm/r4xx0.c
index 2da2ed040..7aad89728 100644
--- a/arch/mips64/mm/r4xx0.c
+++ b/arch/mips64/mm/r4xx0.c
@@ -6,7 +6,7 @@
* r4xx0.c: R4000 processor variant specific MMU/Cache routines.
*
* Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
- * Copyright (C) 1997, 1998, 1999, 2000 Ralf Baechle (ralf@gnu.org)
+ * Copyright (C) 1997, 1998, 1999, 2000, 2001 Ralf Baechle (ralf@gnu.org)
* Copyright (C) 1999, 2000 Silicon Graphics, Inc.
*/
#include <linux/init.h>
@@ -377,7 +377,7 @@ static void r4k_copy_page_d16(void * to, void * from)
"ld\t%3,-8(%1)\n\t"
"sd\t%2,-16(%0)\n\t"
"bne\t$1,%0,1b\n\t"
- " sd\t%4,-8(%0)\n\t"
+ " sd\t%3,-8(%0)\n\t"
".set\tat\n\t"
".set\treorder"
:"=r" (dummy1), "=r" (dummy2), "=&r" (reg1), "=&r" (reg2)