Module Name: src
Committed By: matt
Date: Thu Aug 19 07:20:20 UTC 2010
Modified Files:
src/sys/arch/mips/mips [matt-nb5-mips64]: cpu_subr.c
Log Message:
cpu_signotify can be if the lwp is in LSSTOP too.
To generate a diff of this commit:
cvs rdiff -u -r1.1.2.10 -r1.1.2.11 src/sys/arch/mips/mips/cpu_subr.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/mips/mips/cpu_subr.c
diff -u src/sys/arch/mips/mips/cpu_subr.c:1.1.2.10 src/sys/arch/mips/mips/cpu_subr.c:1.1.2.11
--- src/sys/arch/mips/mips/cpu_subr.c:1.1.2.10 Wed Aug 18 17:01:21 2010
+++ src/sys/arch/mips/mips/cpu_subr.c Thu Aug 19 07:20:19 2010
@@ -32,7 +32,7 @@
#include "opt_multiprocessor.h"
#include "opt_sa.h"
-__KERNEL_RCSID(0, "$NetBSD: cpu_subr.c,v 1.1.2.10 2010/08/18 17:01:21 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu_subr.c,v 1.1.2.11 2010/08/19 07:20:19 matt Exp $");
#include <sys/param.h>
#include <sys/cpu.h>
@@ -504,7 +504,7 @@
{
KASSERT(kpreempt_disabled());
KASSERT(lwp_locked(l, NULL));
- KASSERT(l->l_stat == LSONPROC || l->l_stat == LSRUN);
+ KASSERT(l->l_stat == LSONPROC || l->l_stat == LSRUN || l->l_stat == LSSTOP);
l->l_md.md_astpending = 1; /* force call to ast() */
}