Module Name: src
Committed By: pooka
Date: Fri Jun 11 07:32:32 UTC 2010
Modified Files:
src/sys/kern: kern_lwp.c
Log Message:
Fix DIAGNOSTIC. Moral of the story: don't comment xen kernels out of the
build even if you'd like to go to sleep earlier.
To generate a diff of this commit:
cvs rdiff -u -r1.147 -r1.148 src/sys/kern/kern_lwp.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/kern/kern_lwp.c
diff -u src/sys/kern/kern_lwp.c:1.147 src/sys/kern/kern_lwp.c:1.148
--- src/sys/kern/kern_lwp.c:1.147 Thu Jun 10 20:54:53 2010
+++ src/sys/kern/kern_lwp.c Fri Jun 11 07:32:32 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_lwp.c,v 1.147 2010/06/10 20:54:53 pooka Exp $ */
+/* $NetBSD: kern_lwp.c,v 1.148 2010/06/11 07:32:32 pooka Exp $ */
/*-
* Copyright (c) 2001, 2006, 2007, 2008, 2009 The NetBSD Foundation, Inc.
@@ -209,7 +209,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_lwp.c,v 1.147 2010/06/10 20:54:53 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_lwp.c,v 1.148 2010/06/11 07:32:32 pooka Exp $");
#include "opt_ddb.h"
#include "opt_lockdebug.h"
@@ -296,7 +296,7 @@
struct lwp *l = &lwp0;
KASSERT((void *)uvm_lwp_getuarea(l) != NULL);
- KASSERT(l->l_lid == p->p_nlwpid);
+ KASSERT(l->l_lid == proc0.p_nlwpid);
LIST_INSERT_HEAD(&alllwp, l, l_list);