summaryrefslogtreecommitdiff
path: root/sys/amd64/include/cpu.h
diff options
context:
space:
mode:
authorPhilippe Charnier <charnier@FreeBSD.org>1997-08-18 06:58:59 +0000
committerPhilippe Charnier <charnier@FreeBSD.org>1997-08-18 06:58:59 +0000
commit15f3549108271c561a1d0b624658be6c2410d105 (patch)
tree886f941aa963b883361d449283d565bb5ea58082 /sys/amd64/include/cpu.h
parentdfd35b65764aa092f6ba979a2dccd30ecf56febf (diff)
Notes
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 0aedc2af9072..8f074807bdc5 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