summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/pcpu.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2001-02-23 01:25:02 +0000
committerpeter <peter@FreeBSD.org>2001-02-23 01:25:02 +0000
commit88a22127a8400148ac64930f4843800ec5ea843c (patch)
treeaaa218218d0222b010b83f5016331a051700c6e4 /sys/i386/include/pcpu.h
parent028498d58b228bc46acb76c35b3c3bfd10a950b1 (diff)
downloadFreeBSD-src-88a22127a8400148ac64930f4843800ec5ea843c.zip
FreeBSD-src-88a22127a8400148ac64930f4843800ec5ea843c.tar.gz
Activate USER_LDT by default. The new thread libraries are going to
depend on this. The linux ABI emulator tries to use it for some linux binaries too. VM86 had a bigger cost than this and it was made default a while ago. Reviewed by: jhb, imp
Diffstat (limited to 'sys/i386/include/pcpu.h')
-rw-r--r--sys/i386/include/pcpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/include/pcpu.h b/sys/i386/include/pcpu.h
index 3b7bca5..d2873ef 100644
--- a/sys/i386/include/pcpu.h
+++ b/sys/i386/include/pcpu.h
@@ -60,7 +60,7 @@ struct globaldata {
int gd_switchticks;
struct segment_descriptor gd_common_tssd;
struct segment_descriptor *gd_tss_gdt;
- int gd_currentldt; /* only used for USER_LDT */
+ int gd_currentldt;
u_int gd_cpuid;
u_int gd_other_cpus;
SLIST_ENTRY(globaldata) gd_allcpu;
OpenPOWER on IntegriCloud