summaryrefslogtreecommitdiffstats
path: root/sys/amd64/amd64/cpu_switch.S
diff options
context:
space:
mode:
authorLuiz Souza <luiz@netgate.com>2018-02-23 19:39:00 -0300
committerLuiz Souza <luiz@netgate.com>2018-02-23 19:39:00 -0300
commitc2167b6ceb0ac15eb770243e193ee56b0c786096 (patch)
treeabcae4800a7c5f143f25a27980e7d0966bd91066 /sys/amd64/amd64/cpu_switch.S
parent77e2817e78b7c20d77a94256f5fcb31651001e8f (diff)
downloadFreeBSD-src-c2167b6ceb0ac15eb770243e193ee56b0c786096.zip
FreeBSD-src-c2167b6ceb0ac15eb770243e193ee56b0c786096.tar.gz
Revert "Revert "MFC r322940:""
This reverts commit 72b499fe038338698da9878361ba68f79cd05af6.
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 552f481..a234d3ed 100644
--- a/sys/amd64/amd64/cpu_switch.S
+++ b/sys/amd64/amd64/cpu_switch.S
@@ -108,7 +108,7 @@ ENTRY(cpu_switch)
movl %fs,%eax
cmpl $KUF32SEL,%eax
jne 1f
- rdfsbaseq %rax
+ rdfsbase %rax
movq %rax,PCB_FSBASE(%r8)
1: movl %gs,%eax
cmpl $KUG32SEL,%eax
OpenPOWER on IntegriCloud