Module Name: src
Committed By: nisimura
Date: Wed Dec 29 13:49:32 UTC 2010
Modified Files:
src/sys/arch/sh3/sh3: exception.c
Log Message:
one more line for lwp_getpcb() conversion.
To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/sys/arch/sh3/sh3/exception.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/sh3/sh3/exception.c
diff -u src/sys/arch/sh3/sh3/exception.c:1.57 src/sys/arch/sh3/sh3/exception.c:1.58
--- src/sys/arch/sh3/sh3/exception.c:1.57 Wed Dec 29 13:43:58 2010
+++ src/sys/arch/sh3/sh3/exception.c Wed Dec 29 13:49:32 2010
@@ -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) \