Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/hppa/hppa Fix DEBUG build. Hi rmind.



details:   https://anonhg.NetBSD.org/src/rev/9e1940b730e7
branches:  trunk
changeset: 749366:9e1940b730e7
user:      skrll <skrll%NetBSD.org@localhost>
date:      Fri Nov 27 20:32:10 2009 +0000

description:
Fix DEBUG build.  Hi rmind.

diffstat:

 sys/arch/hppa/hppa/trap.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 9f0dd7637dc2 -r 9e1940b730e7 sys/arch/hppa/hppa/trap.c
--- a/sys/arch/hppa/hppa/trap.c Fri Nov 27 18:38:29 2009 +0000
+++ b/sys/arch/hppa/hppa/trap.c Fri Nov 27 20:32:10 2009 +0000
@@ -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 



Home | Main Index | Thread Index | Old Index