summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/npx.c
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>1997-08-18 06:58:59 +0000
committercharnier <charnier@FreeBSD.org>1997-08-18 06:58:59 +0000
commite0224667fe353de8d6394686a4589a5a7935b6b2 (patch)
tree09a2df2389cb19d23678a3b740fd0debb15ff871 /sys/i386/isa/npx.c
parentb224a05842b1f2b4d5704ed084f9ca79471d929d (diff)
downloadFreeBSD-src-e0224667fe353de8d6394686a4589a5a7935b6b2.zip
FreeBSD-src-e0224667fe353de8d6394686a4589a5a7935b6b2.tar.gz
Use CS_SECURE macro.
Reviewed by: John Dyson
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 32fa57a..bfd2f8a 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.49 1997/07/21 07:57:50 fsmp Exp $
+ * $Id: npx.c,v 1.50 1997/08/09 00:03:39 dyson Exp $
*/
#include "npx.h"
@@ -515,7 +515,7 @@ npxintr(unit)
* Pass exception to process.
*/
frame = (struct intrframe *)&unit; /* XXX */
- if ((ISPL(frame->if_cs) == SEL_UPL) || (frame->if_eflags & PSL_VM)) {
+ if (CS_SECURE(frame->if_cs) || (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