diff options
author | jhb <jhb@FreeBSD.org> | 2001-01-23 23:51:56 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-01-23 23:51:56 +0000 |
commit | 08fe94fb944365cc4b0fb414189679bba283eb4b (patch) | |
tree | a83c620556e19eb1489147c91362a1fb584c9a09 /sys/gnu/i386 | |
parent | 395251513756942d9d55fa15a07be9765a60195f (diff) | |
download | FreeBSD-src-08fe94fb944365cc4b0fb414189679bba283eb4b.zip FreeBSD-src-08fe94fb944365cc4b0fb414189679bba283eb4b.tar.gz |
Proc locking.
Diffstat (limited to 'sys/gnu/i386')
-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 049b013..3d03783 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: |