aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64/include
diff options
context:
space:
mode:
Diffstat (limited to 'sys/amd64/include')
-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