aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2018-02-16 13:32:46 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2018-02-16 13:32:46 +0000
commit13cad9af827b37c22d6bc0da4787aba0a005ca8d (patch)
tree53eb421b09a3d9e621626d4a912e2d2d53610a13 /sys/amd64
parent7b394c1066511b9cd359246057190d8fe1db73de (diff)
Notes
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/include/asmacros.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/amd64/include/asmacros.h b/sys/amd64/include/asmacros.h
index f560eadc3b65b..da22c1e21b8d0 100644
--- a/sys/amd64/include/asmacros.h
+++ b/sys/amd64/include/asmacros.h
@@ -175,11 +175,11 @@
.endm
.macro MOVE_STACKS qw
- offset=0
+ .L.offset=0
.rept \qw
- movq offset(%rsp),%rdx
- movq %rdx,offset(%rax)
- offset=offset+8
+ movq .L.offset(%rsp),%rdx
+ movq %rdx,.L.offset(%rax)
+ .L.offset=.L.offset+8
.endr
.endm