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:
parent
f6710005c7
commit
1084039b85
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user