summaryrefslogtreecommitdiffstats
path: root/sys/amd64/amd64/cpu_switch.S
diff options
context:
space:
mode:
authorrlibby <rlibby@FreeBSD.org>2017-09-12 06:31:53 +0000
committerLuiz Souza <luiz@netgate.com>2018-02-19 14:32:02 -0300
commita9197dec5d4dc4631abb11db58f5cc72ce0625fd (patch)
tree5424ca51689ce40fa72244419bf3e903ddf3ad5a /sys/amd64/amd64/cpu_switch.S
parent2589da26b930eaf9441b6bf27c0f410062adf507 (diff)
downloadFreeBSD-src-a9197dec5d4dc4631abb11db58f5cc72ce0625fd.zip
FreeBSD-src-a9197dec5d4dc4631abb11db58f5cc72ce0625fd.tar.gz
MFC r322940:
amd64: drop q suffix from rd[fg]sbase for gas compatibility (cherry picked from commit c78f11f66bbfbc66d4b5ed31a9dc66831eacdf19)
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