summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/npx.c
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>1997-08-21 06:33:04 +0000
committercharnier <charnier@FreeBSD.org>1997-08-21 06:33:04 +0000
commitec0491b457704b183e5677671c5f9c091b706bad (patch)
tree97135bfb08c05cabc164f0bca66b668fa0244b79 /sys/i386/isa/npx.c
parent7511b8f464a83d4d3fcab8607f7c224a08b65a74 (diff)
downloadFreeBSD-src-ec0491b457704b183e5677671c5f9c091b706bad.zip
FreeBSD-src-ec0491b457704b183e5677671c5f9c091b706bad.tar.gz
Revert my previous commit about using CS_SECURE macro.
Requested by: Bruce.
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 bfd2f8a..8e2416d 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.50 1997/08/09 00:03:39 dyson Exp $
+ * $Id: npx.c,v 1.51 1997/08/18 06:58:44 charnier Exp $
*/
#include "npx.h"
@@ -515,7 +515,7 @@ npxintr(unit)
* Pass exception to process.
*/
frame = (struct intrframe *)&unit; /* XXX */
- if (CS_SECURE(frame->if_cs) || (frame->if_eflags & PSL_VM)) {
+ if ((ISPL(frame->if_cs) == SEL_UPL) || (frame->if_eflags & PSL_VM)) {
/*
* Interrupt is essentially a trap, so we can afford to call
* the SIGFPE handler (if any) as soon as the interrupt
OpenPOWER on IntegriCloud