aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2010-07-29 16:49:20 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2010-07-29 16:49:20 +0000
commit9727ca6a77dc224c2f9c19b057f2416df6e15833 (patch)
tree5a9875d55e671864f5d7346c38944681d042dfb3 /sys/amd64
parent39381048f069aa0fe5802b62cd71ba5109f0aea5 (diff)
Notes
Diffstat (limited to 'sys/amd64')
-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 f3cfff3512a9..0ffc5678a2f8 100644
--- a/sys/amd64/amd64/cpu_switch.S
+++ b/sys/amd64/amd64/cpu_switch.S
@@ -347,7 +347,7 @@ ENTRY(savectx)
lmsw %ax
movq $PCB_SAVEFPU_SIZE,%rdx /* arg 3 */
- movq PCB_SAVEFPU(%rcx),%rsi /* arg 2 */
+ leaq PCB_USERFPU(%rcx),%rsi /* arg 2 */
/* arg 1 (%rdi) already loaded */
call bcopy
1: