diff options
| author | Konstantin Belousov <kib@FreeBSD.org> | 2010-10-10 07:28:56 +0000 |
|---|---|---|
| committer | Konstantin Belousov <kib@FreeBSD.org> | 2010-10-10 07:28:56 +0000 |
| commit | 166dec49376850e6458ec258b8c8564f8b7f192b (patch) | |
| tree | 93b758645f69c015c8438c405b68628073e2ca07 | |
| parent | 0604fc442263d29b1d5fbbc1c39d863b360a062a (diff) | |
Notes
| -rw-r--r-- | sys/amd64/amd64/machdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c index 7dfe492c86b6..e3aee9327fb0 100644 --- a/sys/amd64/amd64/machdep.c +++ b/sys/amd64/amd64/machdep.c @@ -1443,7 +1443,7 @@ makectx(struct trapframe *tf, struct pcb *pcb) pcb->pcb_rbp = tf->tf_rbp; pcb->pcb_rbx = tf->tf_rbx; pcb->pcb_rip = tf->tf_rip; - pcb->pcb_rsp = (ISPL(tf->tf_cs)) ? tf->tf_rsp : (long)(tf + 1) - 8; + pcb->pcb_rsp = tf->tf_rsp; } int |
