Fix a DIAGNOSTIC check in the heavy-weight switch code. A thread's process is
authorMatthew Dillon <dillon@dragonflybsd.org>
Tue, 16 Sep 2003 20:03:35 +0000 (20:03 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Tue, 16 Sep 2003 20:03:35 +0000 (20:03 +0000)
commit047b979b2b1c393df5f22a48407f2fe11876febc
tree33cba081cad27b952563bf25e3c76c11b0103922
parentf45600eeb47a9d8a228f08bd6631c93c10e03912
Fix a DIAGNOSTIC check in the heavy-weight switch code.  A thread's process is
normally in the SRUN state but can also be preempted while moving into
the SZOMB (zombie) state.

Report-by: "David P. Reese, Jr." <daver@gomerbud.com>
sys/i386/i386/genassym.c
sys/i386/i386/swtch.s
sys/platform/pc32/i386/genassym.c
sys/platform/pc32/i386/swtch.s
sys/platform/vkernel/i386/genassym.c