Module Name:    src
Committed By:   matt
Date:           Sat Sep 12 17:41:10 UTC 2009

Modified Files:
        src/sys/arch/mips/mips [matt-nb5-mips64]: syscall.c

Log Message:
Now that register32_t is 64-bit, switch to int32_t.


To generate a diff of this commit:
cvs rdiff -u -r1.37.12.8 -r1.37.12.9 src/sys/arch/mips/mips/syscall.c

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/syscall.c
diff -u src/sys/arch/mips/mips/syscall.c:1.37.12.8 src/sys/arch/mips/mips/syscall.c:1.37.12.9
--- src/sys/arch/mips/mips/syscall.c:1.37.12.8	Wed Sep  2 07:44:28 2009
+++ src/sys/arch/mips/mips/syscall.c	Sat Sep 12 17:41:10 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: syscall.c,v 1.37.12.8 2009/09/02 07:44:28 uebayasi Exp $	*/
+/*	$NetBSD: syscall.c,v 1.37.12.9 2009/09/12 17:41:10 matt Exp $	*/
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -107,7 +107,7 @@
 
 #include <sys/cdefs.h>			/* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: syscall.c,v 1.37.12.8 2009/09/02 07:44:28 uebayasi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: syscall.c,v 1.37.12.9 2009/09/12 17:41:10 matt Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_sa.h"
@@ -288,8 +288,8 @@
 			 * after skipping the slots for the 4 register passed
 			 * arguments.
 			 */
-			usp = frame->f_regs[_R_SP] + 4*sizeof(register32_t);
-			error = copyin((register32_t *)usp, copy32args,
+			usp = frame->f_regs[_R_SP] + 4*sizeof(int32_t);
+			error = copyin((int32_t *)usp, copy32args,
 			    (nargs + narg64 - nregs) * sizeof(copy32args[0]));
 			if (error)
 				goto bad;

Reply via email to