Module Name:    src
Committed By:   matt
Date:           Sat Oct 24 18:11:53 UTC 2009

Modified Files:
        src/sys/arch/mips/mips [matt-nb5-mips64]: copy.S

Log Message:
suword stores a long, not a int.


To generate a diff of this commit:
cvs rdiff -u -r1.5.38.1 -r1.5.38.2 src/sys/arch/mips/mips/copy.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/mips/mips/copy.S
diff -u src/sys/arch/mips/mips/copy.S:1.5.38.1 src/sys/arch/mips/mips/copy.S:1.5.38.2
--- src/sys/arch/mips/mips/copy.S:1.5.38.1	Thu Aug 20 22:32:19 2009
+++ src/sys/arch/mips/mips/copy.S	Sat Oct 24 18:11:52 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: copy.S,v 1.5.38.1 2009/08/20 22:32:19 matt Exp $	*/
+/*	$NetBSD: copy.S,v 1.5.38.2 2009/10/24 18:11:52 matt Exp $	*/
 
 /*
  * Copyright (c) 1992, 1993
@@ -347,7 +347,7 @@
 END(fubyte)
 
 /*
- * int suword(void *, int)
+ * int suword(void *, long)
  * Stores a word of data to the user-space address.
  */
 LEAF(suword)
@@ -355,7 +355,7 @@
 	PTR_LA	v0, _C_LABEL(fswberr)
 	blt	a0, zero, _C_LABEL(fswberr)
 	PTR_S	v0, U_PCB_ONFAULT(v1)
-	INT_S	a1, 0(a0)			# store word
+	LONG_S	a1, 0(a0)			# store word
 	PTR_S	zero, U_PCB_ONFAULT(v1)
 	j	ra
 	move	v0, zero

Reply via email to