summaryrefslogtreecommitdiff
path: root/usr/src/uts/i86pc/os/mlsetup.c
diff options
context:
space:
mode:
authorJohn Levon <john.levon@joyent.com>2018-06-13 22:54:04 +0000
committerRobert Mustacchi <rm@joyent.com>2018-06-22 17:18:57 +0000
commit52b3cf5cd58128b1ae465be28a32b1cc5c617a3f (patch)
tree67e73a2e833c0817992a17118e9640a64a497ff5 /usr/src/uts/i86pc/os/mlsetup.c
parentbce37cdf6c9e94a5df1aec9fec97bb9c50139717 (diff)
downloadillumos-joyent-release-20180315.tar.gz
OS-6967 LDT still not happy under KPTIrelease-20180315
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Alex Wilson <alex.wilson@joyent.com> Approved by: Jerry Jelinek <jerry.jelinek@joyent.com> Approved by: Alex Wilson <alex.wilson@joyent.com>
Diffstat (limited to 'usr/src/uts/i86pc/os/mlsetup.c')
-rw-r--r--usr/src/uts/i86pc/os/mlsetup.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/usr/src/uts/i86pc/os/mlsetup.c b/usr/src/uts/i86pc/os/mlsetup.c
index 09bf07848c..601c6937fd 100644
--- a/usr/src/uts/i86pc/os/mlsetup.c
+++ b/usr/src/uts/i86pc/os/mlsetup.c
@@ -362,11 +362,6 @@ mlsetup(struct regs *rp)
CPU->cpu_pri = 12; /* initial PIL for the boot CPU */
/*
- * The kernel doesn't use LDTs unless a process explicitly requests one.
- */
- p0.p_ldt_desc = null_sdesc;
-
- /*
* Initialize thread/cpu microstate accounting
*/
init_mstate(&t0, LMS_SYSTEM);