Module Name:    src
Committed By:   matt
Date:           Fri May 20 16:38:52 UTC 2011

Modified Files:
        src/sys/arch/evbmips/adm5120 [matt-nb5-mips64]: machdep.c

Log Message:
Update to new definitions of savectx and mips_vector_init


To generate a diff of this commit:
cvs rdiff -u -r1.6.10.5 -r1.6.10.6 src/sys/arch/evbmips/adm5120/machdep.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/evbmips/adm5120/machdep.c
diff -u src/sys/arch/evbmips/adm5120/machdep.c:1.6.10.5 src/sys/arch/evbmips/adm5120/machdep.c:1.6.10.6
--- src/sys/arch/evbmips/adm5120/machdep.c:1.6.10.5	Sun Mar 21 17:38:33 2010
+++ src/sys/arch/evbmips/adm5120/machdep.c	Fri May 20 16:38:51 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.6.10.5 2010/03/21 17:38:33 cliff Exp $ */
+/* machdep.c,v 1.6.10.5 2010/03/21 17:38:33 cliff Exp */
 
 /*-
  * Copyright (c) 2007 Ruslan Ermilov and Vsevolod Lobko.
@@ -107,7 +107,7 @@
  */
 
 #include <sys/cdefs.h>			/* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.6.10.5 2010/03/21 17:38:33 cliff Exp $");
+__KERNEL_RCSID(0, "machdep.c,v 1.6.10.5 2010/03/21 17:38:33 cliff Exp");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -327,7 +327,7 @@
 	 * functions called during startup.
 	 * Also clears the I+D caches.
 	 */
-	mips_vector_init(NULL);
+	mips_vector_init(NULL, false);
 
 	/*
 	 * Set the VM page size.
@@ -506,7 +506,7 @@
 	static int waittime = -1;
 
 	/* Take a snapshot before clobbering any registers. */
-	savectx(curlwp->l_addr);
+	savectx(lwp_getpcb(curlwp));
 
 	/* If "always halt" was specified as a boot flag, obey. */
 	if (boothowto & RB_HALT)

Reply via email to