Remove bogus DIAGNOSTIC code that checked if the process was SZOMB or SRUN
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 20 Dec 2004 09:21:18 +0000 (09:21 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 20 Dec 2004 09:21:18 +0000 (09:21 +0000)
commitb74c5f55924b98bd63be7cedfa1db91f97a0ff84
tree2f9fbe0b80fbbd86b249b2161c7fabd246f3a0f1
parentc3f3fe6d836ec064a22482f17cbc0aca768b21a4
Remove bogus DIAGNOSTIC code that checked if the process was SZOMB or SRUN
during cpu_heavy_restore().  In fact, the process structure may be in
virtually any state since a preemption will call the restore function to
return to the preempted thread.  The process state is really more a
function of the userland scheduler and not so much related to the LWKT
scheduler.
sys/i386/i386/swtch.s
sys/platform/pc32/i386/swtch.s