Module Name:    src
Committed By:   skrll
Date:           Fri Nov 27 20:32:10 UTC 2009

Modified Files:
        src/sys/arch/hppa/hppa: trap.c

Log Message:
Fix DEBUG build.  Hi rmind.


To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 src/sys/arch/hppa/hppa/trap.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/hppa/hppa/trap.c
diff -u src/sys/arch/hppa/hppa/trap.c:1.62 src/sys/arch/hppa/hppa/trap.c:1.63
--- src/sys/arch/hppa/hppa/trap.c:1.62	Fri Nov 27 03:23:09 2009
+++ src/sys/arch/hppa/hppa/trap.c	Fri Nov 27 20:32:10 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: trap.c,v 1.62 2009/11/27 03:23:09 rmind Exp $	*/
+/*	$NetBSD: trap.c,v 1.63 2009/11/27 20:32:10 skrll Exp $	*/
 
 /*-
  * Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@@ -58,7 +58,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.62 2009/11/27 03:23:09 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.63 2009/11/27 20:32:10 skrll Exp $");
 
 /* #define INTRDEBUG */
 /* #define TRAPDEBUG */
@@ -428,6 +428,8 @@
 	if (tf->tf_iisq_head == HPPA_SID_KERNEL) {
 		vaddr_t minsp, maxsp, uv;
 
+		uv = uvm_lwp_getuarea(l);
+
 		/*
 		 * If the trap happened in the gateway
 		 * page, we take the easy way out and 

Reply via email to