summaryrefslogtreecommitdiffstats
path: root/sys/amd64/amd64/cpu_switch.S
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2017-10-08 08:02:26 +0000
committerLuiz Souza <luiz@netgate.com>2018-02-19 14:32:14 -0300
commit6501017038915547fe361a5ae4ca94ba466d0e4e (patch)
treea95ebb03df55ad8c5f5ea66af88c0ac0d47b543b /sys/amd64/amd64/cpu_switch.S
parenta9197dec5d4dc4631abb11db58f5cc72ce0625fd (diff)
downloadFreeBSD-src-6501017038915547fe361a5ae4ca94ba466d0e4e.zip
FreeBSD-src-6501017038915547fe361a5ae4ca94ba466d0e4e.tar.gz
MFC r324301:
Update comment. (cherry picked from commit 5596db6a009420f7f1e764cc67d15e03ecb75601)
Diffstat (limited to 'sys/amd64/amd64/cpu_switch.S')
-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