Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sh3/sh3 one more line for lwp_getpcb() conversion.



details:   https://anonhg.NetBSD.org/src/rev/c2ce08aa03f5
branches:  trunk
changeset: 760161:c2ce08aa03f5
user:      nisimura <nisimura%NetBSD.org@localhost>
date:      Wed Dec 29 13:49:32 2010 +0000

description:
one more line for lwp_getpcb() conversion.

diffstat:

 sys/arch/sh3/sh3/exception.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 611f7dd997be -r c2ce08aa03f5 sys/arch/sh3/sh3/exception.c
--- a/sys/arch/sh3/sh3/exception.c      Wed Dec 29 13:48:22 2010 +0000
+++ b/sys/arch/sh3/sh3/exception.c      Wed Dec 29 13:49:32 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: exception.c,v 1.57 2010/12/29 13:43:58 nisimura Exp $  */
+/*     $NetBSD: exception.c,v 1.58 2010/12/29 13:49:32 nisimura Exp $  */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc. All rights reserved.
@@ -79,7 +79,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: exception.c,v 1.57 2010/12/29 13:43:58 nisimura Exp $");
+__KERNEL_RCSID(0, "$NetBSD: exception.c,v 1.58 2010/12/29 13:49:32 nisimura Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -282,7 +282,7 @@
        int err, track, ftype;
        const char *panic_msg;
 
-       pcb = &l->l_addr->u_pcb;
+       pcb = lwp_getpcb(l);
        onfault = pcb->pcb_onfault;
 
 #define TLB_ASSERT(assert, msg)                                \



Home | Main Index | Thread Index | Old Index