summaryrefslogtreecommitdiffstats
path: root/sys/amd64/amd64/cpu_switch.S
diff options
context:
space:
mode:
authorLuiz Souza <luiz@netgate.com>2018-02-23 19:39:29 -0300
committerLuiz Souza <luiz@netgate.com>2018-02-23 19:39:29 -0300
commit1fa1822747e2c7a1ce0c52949094a41570573fb4 (patch)
tree89ac4a4db3991c587ae1e3f6b63ef22a93923bd2 /sys/amd64/amd64/cpu_switch.S
parentf2afa83fb9c064292249a3632647be4ea982abc9 (diff)
downloadFreeBSD-src-1fa1822747e2c7a1ce0c52949094a41570573fb4.zip
FreeBSD-src-1fa1822747e2c7a1ce0c52949094a41570573fb4.tar.gz
Revert "Revert "MFC r327817:""
This reverts commit 671279ad5be3f1feb75857cf032daae1f04972dd.
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 56dbc75..6e4ed35 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,COMMON_TSS_RSP0(%rdx)
+ movq %r8,TSS_RSP0(%rdx)
movq %r12,PCPU(CURTHREAD) /* into next thread */
/* Test if debug registers should be restored. */
OpenPOWER on IntegriCloud