diff --git a/sys/amd64/include/asmacros.h b/sys/amd64/include/asmacros.h index 163a974043ab..3f98bf85177d 100644 --- a/sys/amd64/include/asmacros.h +++ b/sys/amd64/include/asmacros.h @@ -191,7 +191,7 @@ movq %rax,%cr3 movq PCPU(RSP0),%rax subq $PTI_SIZE,%rax - MOVE_STACKS (PTI_SIZE / 8) - 1 + \has_err + MOVE_STACKS ((PTI_SIZE / 8) - 1 + \has_err) movq %rax,%rsp popq %rdx popq %rax