- GCC4.2.3 expects to, from thread ids in registers, rather than on the

stack; use a declaration that works for both stack and register arguments
This commit is contained in:
Jan Stoess 2007-11-27 12:13:14 +01:00
parent 7b6e72a5fb
commit cb8c8e2825
1 changed files with 1 additions and 0 deletions

View File

@ -251,6 +251,7 @@ slowpath:
movq %r13, UTCB_MR(5)(%rdi)
movq %r14, UTCB_MR(6)(%rdi)
movq %r15, UTCB_MR(7)(%rdi)
movq %r8, %rdi // timeout (1st argument)
subq $16, %rsp // make room for from and to
movq %rdx, 8(%rsp) // save from
movq %rsi, (%rsp) // save to