Proc locking.
This commit is contained in:
parent
fad5d2b1f8
commit
c797833a37
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=71487
@ -230,8 +230,10 @@ math_emulate(struct trapframe * tframe)
|
||||
#endif
|
||||
|
||||
FPU_lookahead = FPU_LOOKAHEAD;
|
||||
PROC_LOCK(curproc);
|
||||
if (curproc->p_flag & P_TRACED)
|
||||
FPU_lookahead = 0;
|
||||
PROC_UNLOCK(curproc);
|
||||
|
||||
do_another_FPU_instruction:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user