summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/npx.c
diff options
context:
space:
mode:
authorluoqi <luoqi@FreeBSD.org>1999-05-11 16:29:21 +0000
committerluoqi <luoqi@FreeBSD.org>1999-05-11 16:29:21 +0000
commit05e390eef7e448a3fea840716766502700cf0359 (patch)
tree1a5d42c282dd04a4ede62ad095aa700b65512a71 /sys/i386/isa/npx.c
parentb661ab30e39917846b890dde659939e783fc490b (diff)
downloadFreeBSD-src-05e390eef7e448a3fea840716766502700cf0359.zip
FreeBSD-src-05e390eef7e448a3fea840716766502700cf0359.tar.gz
Yet another place I missed when increasing trapframe size, which causes problem
to SIGFPE handling. Reviewed by: Bruce Evans <bde@zeta.org.au>
Diffstat (limited to 'sys/i386/isa/npx.c')
-rw-r--r--sys/i386/isa/npx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/isa/npx.c b/sys/i386/isa/npx.c
index 063f7ce..e18a08e 100644
--- a/sys/i386/isa/npx.c
+++ b/sys/i386/isa/npx.c
@@ -32,7 +32,7 @@
* SUCH DAMAGE.
*
* from: @(#)npx.c 7.2 (Berkeley) 5/12/91
- * $Id: npx.c,v 1.70 1999/05/08 18:14:09 peter Exp $
+ * $Id: npx.c,v 1.71 1999/05/08 21:59:27 dfr Exp $
*/
#include "npx.h"
@@ -548,7 +548,7 @@ npx_intr(dummy)
* in doreti, and the frame for that could easily be set up
* just before it is used).
*/
- curproc->p_md.md_regs = (struct trapframe *)&frame->if_es;
+ curproc->p_md.md_regs = INTR_TO_TRAPFRAME(frame);
#ifdef notyet
/*
* Encode the appropriate code for detailed information on
OpenPOWER on IntegriCloud