Weaken the part of assertions added in the r227394. Only check that the

process state is stopped.

MFC after:	1 week
This commit is contained in:
kib 2011-11-11 04:10:36 +00:00
parent f6710005c7
commit 1084039b85
2 changed files with 2 additions and 2 deletions

View File

@ -2048,7 +2048,7 @@ fill_fpregs(struct thread *td, struct fpreg *fpregs)
{
KASSERT(td == curthread || TD_IS_SUSPENDED(td) ||
(P_SHOULDSTOP(td->td_proc) && TD_IS_SLEEPING(td)),
P_SHOULDSTOP(td->td_proc),
("not suspended thread %p", td));
fpugetregs(td);
fill_fpregs_xmm(&td->td_pcb->pcb_user_save, fpregs);

View File

@ -3300,7 +3300,7 @@ fill_fpregs(struct thread *td, struct fpreg *fpregs)
{
KASSERT(td == curthread || TD_IS_SUSPENDED(td) ||
(P_SHOULDSTOP(td->td_proc) && TD_IS_SLEEPING(td)),
P_SHOULDSTOP(td->td_proc),
("not suspended thread %p", td));
#ifdef DEV_NPX
npxgetregs(td);