summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/cpu.h
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/amd64/include/cpu.h
parentb224a05842b1f2b4d5704ed084f9ca79471d929d (diff)
downloadFreeBSD-src-e0224667fe353de8d6394686a4589a5a7935b6b2.zip
FreeBSD-src-e0224667fe353de8d6394686a4589a5a7935b6b2.tar.gz
Use CS_SECURE macro.
Reviewed by: John Dyson
Diffstat (limited to 'sys/amd64/include/cpu.h')
-rw-r--r--sys/amd64/include/cpu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/include/cpu.h b/sys/amd64/include/cpu.h
index 0aedc2a..8f07480 100644
--- a/sys/amd64/include/cpu.h
+++ b/sys/amd64/include/cpu.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)cpu.h 5.4 (Berkeley) 5/9/91
- * $Id: cpu.h,v 1.29 1997/04/07 07:15:58 peter Exp $
+ * $Id: cpu.h,v 1.30 1997/08/09 00:03:09 dyson Exp $
*/
#ifndef _MACHINE_CPU_H_
@@ -59,7 +59,7 @@
#define cpu_set_init_frame(p, fp) ((p)->p_md.md_regs = (fp))
#define CLKF_USERMODE(framep) \
- ((ISPL((framep)->cf_cs) == SEL_UPL) || (framep->cf_eflags & PSL_VM))
+ (CS_SECURE((framep)->cf_cs) || (framep->cf_eflags & PSL_VM))
#define CLKF_INTR(framep) (intr_nesting_level >= 2)
#if 0
OpenPOWER on IntegriCloud