summaryrefslogtreecommitdiffstats
path: root/sys/amd64/amd64/cpu_switch.S
diff options
context:
space:
mode:
authorLuiz Souza <luiz@netgate.com>2018-02-21 14:28:30 -0300
committerLuiz Souza <luiz@netgate.com>2018-02-21 14:28:30 -0300
commit72b499fe038338698da9878361ba68f79cd05af6 (patch)
tree436ab8c0103f6500aed7e327f44dbd2fe61a2d80 /sys/amd64/amd64/cpu_switch.S
parent4635c206cc4dfcc984a17067a62e67d75095c647 (diff)
downloadFreeBSD-src-72b499fe038338698da9878361ba68f79cd05af6.zip
FreeBSD-src-72b499fe038338698da9878361ba68f79cd05af6.tar.gz
Revert "MFC r322940:"
This reverts commit a9197dec5d4dc4631abb11db58f5cc72ce0625fd.
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..552f481 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
- rdfsbase %rax
+ rdfsbaseq %rax
movq %rax,PCB_FSBASE(%r8)
1: movl %gs,%eax
cmpl $KUG32SEL,%eax
OpenPOWER on IntegriCloud