summaryrefslogtreecommitdiffstats
path: root/sys/amd64/amd64/cpu_switch.S
diff options
context:
space:
mode:
authorLuiz Souza <luiz@netgate.com>2018-02-21 14:28:02 -0300
committerLuiz Souza <luiz@netgate.com>2018-02-21 14:28:02 -0300
commit671279ad5be3f1feb75857cf032daae1f04972dd (patch)
tree1cd1c040abe848e01258a9bd5c7a0cf50e805067 /sys/amd64/amd64/cpu_switch.S
parent0e1196dbc1e6a616d1e59153b028626daa2a9063 (diff)
downloadFreeBSD-src-671279ad5be3f1feb75857cf032daae1f04972dd.zip
FreeBSD-src-671279ad5be3f1feb75857cf032daae1f04972dd.tar.gz
Revert "MFC r327817:"
This reverts commit 242fd9ef5c10f63b2abc67e7479b7c4d83f0f4c3.
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 6e4ed35..56dbc75 100644
--- a/sys/amd64/amd64/cpu_switch.S
+++ b/sys/amd64/amd64/cpu_switch.S
@@ -215,7 +215,7 @@ done_tss:
movq %r8,PCPU(RSP0)
movq %r8,PCPU(CURPCB)
/* Update the TSS_RSP0 pointer for the next interrupt */
- movq %r8,TSS_RSP0(%rdx)
+ movq %r8,COMMON_TSS_RSP0(%rdx)
movq %r12,PCPU(CURTHREAD) /* into next thread */
/* Test if debug registers should be restored. */
OpenPOWER on IntegriCloud