summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuiz Souza <luiz@netgate.com>2018-02-23 19:39:09 -0300
committerLuiz Souza <luiz@netgate.com>2018-02-23 19:39:09 -0300
commitf2afa83fb9c064292249a3632647be4ea982abc9 (patch)
tree2ee0cdea0d4d99a9ecf87931452ed09b0e0864e6
parentc2167b6ceb0ac15eb770243e193ee56b0c786096 (diff)
downloadFreeBSD-src-f2afa83fb9c064292249a3632647be4ea982abc9.zip
FreeBSD-src-f2afa83fb9c064292249a3632647be4ea982abc9.tar.gz
Revert "Revert "MFC r324301:""
This reverts commit 4635c206cc4dfcc984a17067a62e67d75095c647.
-rw-r--r--sys/amd64/amd64/cpu_switch.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/amd64/cpu_switch.S b/sys/amd64/amd64/cpu_switch.S
index a234d3ed..56dbc75 100644
--- a/sys/amd64/amd64/cpu_switch.S
+++ b/sys/amd64/amd64/cpu_switch.S
@@ -172,7 +172,7 @@ sw1:
* to load up the rest of the next context.
*/
- /* Skip loading user fsbase/gsbase for kthreads */
+ /* Skip loading LDT and user fsbase/gsbase for kthreads */
testl $TDP_KTHREAD,TD_PFLAGS(%r12)
jnz do_kthread
OpenPOWER on IntegriCloud