diff options
author | charnier <charnier@FreeBSD.org> | 1997-08-21 06:33:04 +0000 |
---|---|---|
committer | charnier <charnier@FreeBSD.org> | 1997-08-21 06:33:04 +0000 |
commit | ec0491b457704b183e5677671c5f9c091b706bad (patch) | |
tree | 97135bfb08c05cabc164f0bca66b668fa0244b79 /sys/amd64/include/cpu.h | |
parent | 7511b8f464a83d4d3fcab8607f7c224a08b65a74 (diff) | |
download | FreeBSD-src-ec0491b457704b183e5677671c5f9c091b706bad.zip FreeBSD-src-ec0491b457704b183e5677671c5f9c091b706bad.tar.gz |
Revert my previous commit about using CS_SECURE macro.
Requested by: Bruce.
Diffstat (limited to 'sys/amd64/include/cpu.h')
-rw-r--r-- | sys/amd64/include/cpu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/include/cpu.h b/sys/amd64/include/cpu.h index 8f07480..12b7ef7 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.30 1997/08/09 00:03:09 dyson Exp $ + * $Id: cpu.h,v 1.31 1997/08/18 06:58:29 charnier 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) \ - (CS_SECURE((framep)->cf_cs) || (framep->cf_eflags & PSL_VM)) + ((ISPL((framep)->cf_cs) == SEL_UPL) || (framep->cf_eflags & PSL_VM)) #define CLKF_INTR(framep) (intr_nesting_level >= 2) #if 0 |