diff options
author | peter <peter@FreeBSD.org> | 2001-02-23 01:25:02 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2001-02-23 01:25:02 +0000 |
commit | 88a22127a8400148ac64930f4843800ec5ea843c (patch) | |
tree | aaa218218d0222b010b83f5016331a051700c6e4 /sys/kern/subr_smp.c | |
parent | 028498d58b228bc46acb76c35b3c3bfd10a950b1 (diff) | |
download | FreeBSD-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/kern/subr_smp.c')
-rw-r--r-- | sys/kern/subr_smp.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/kern/subr_smp.c b/sys/kern/subr_smp.c index 06d6548..f6d23dd 100644 --- a/sys/kern/subr_smp.c +++ b/sys/kern/subr_smp.c @@ -26,7 +26,6 @@ */ #include "opt_cpu.h" -#include "opt_user_ldt.h" #ifdef SMP #include <machine/smptests.h> @@ -521,9 +520,7 @@ init_secondary(void) lidt(&r_idt); lldt(_default_ldt); -#ifdef USER_LDT PCPU_SET(currentldt, _default_ldt); -#endif gsel_tss = GSEL(GPROC0_SEL, SEL_KPL); gdt[myid * NGDT + GPROC0_SEL].sd.sd_type = SDT_SYS386TSS; |