summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2017-02-06 09:15:52 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2017-02-06 09:15:52 +0000
commit693e643f9de326f458ca9cd4873dadeea0924a7a (patch)
tree471063807976fbd3717ca2d4587ac4eda44fb69b /sys/arch
parent2f5d8ba197d7f31af3b8a776cd44f7de20bd17aa (diff)
Sync a comment with i386.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/amd64/amd64/locore.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/amd64/locore.S b/sys/arch/amd64/amd64/locore.S
index 68b0b0e56dc..c617d17b467 100644
--- a/sys/arch/amd64/amd64/locore.S
+++ b/sys/arch/amd64/amd64/locore.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.S,v 1.83 2016/09/04 09:22:28 mpi Exp $ */
+/* $OpenBSD: locore.S,v 1.84 2017/02/06 09:15:51 mpi Exp $ */
/* $NetBSD: locore.S,v 1.13 2004/03/25 18:33:17 drochner Exp $ */
/*
@@ -1190,7 +1190,7 @@ _C_LABEL(doreti_iret):
movq (TF_SS + 16)(%rsp), %rax
movq %rax, TF_SS(%rsp)
- /* Pull 8 bytes off the stack and store the content of the register. */
+ /* Pull 8 bytes off the stack and store %rbp in the expected location.*/
movq TF_RSP(%rsp), %rax
subq $8, %rax
movq %rax, TF_RSP(%rsp)