diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2001-01-23 23:51:56 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2001-01-23 23:51:56 +0000 |
| commit | c797833a373a83ff54a8ef1e0337219080f906aa (patch) | |
| tree | 5d9e65d3e6e2e664d100449a641e52a109c089a1 /sys/gnu | |
| parent | fad5d2b1f82e682dfa8e51221bb540ed783c8619 (diff) | |
Notes
Diffstat (limited to 'sys/gnu')
| -rw-r--r-- | sys/gnu/i386/fpemul/fpu_entry.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/gnu/i386/fpemul/fpu_entry.c b/sys/gnu/i386/fpemul/fpu_entry.c index 049b0139171e..3d037832dc8a 100644 --- a/sys/gnu/i386/fpemul/fpu_entry.c +++ b/sys/gnu/i386/fpemul/fpu_entry.c @@ -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: |
