diff options
author | jhb <jhb@FreeBSD.org> | 2001-03-07 03:37:06 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-03-07 03:37:06 +0000 |
commit | 9cd254601baefc2dc9c953abe9747717374ff8b1 (patch) | |
tree | ac4298224e8af28e8b2f904a43a2925c21dfc798 /sys/i386/isa/npx.c | |
parent | ace71d59bf35fa6d911520ec855d0100773422a8 (diff) | |
download | FreeBSD-src-9cd254601baefc2dc9c953abe9747717374ff8b1.zip FreeBSD-src-9cd254601baefc2dc9c953abe9747717374ff8b1.tar.gz |
Grab the process lock while calling psignal and before calling psignal.
Diffstat (limited to 'sys/i386/isa/npx.c')
-rw-r--r-- | sys/i386/isa/npx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/i386/isa/npx.c b/sys/i386/isa/npx.c index 0dab6ae..87d274b 100644 --- a/sys/i386/isa/npx.c +++ b/sys/i386/isa/npx.c @@ -781,7 +781,9 @@ npx_intr(dummy) * * Treat them like a true async interrupt. */ + PROC_LOCK(curproc); psignal(curproc, SIGFPE); + PROC_UNLOCK(curproc); } mtx_unlock(&Giant); } |