fix typo in x86_64 cancellable syscall asm
authorRich Felker <dalias@aerifal.cx>
Sun, 17 Apr 2011 23:25:17 +0000 (19:25 -0400)
committerRich Felker <dalias@aerifal.cx>
Sun, 17 Apr 2011 23:25:17 +0000 (19:25 -0400)
src/thread/x86_64/syscall_cp.s

index 8b250488139bf6b294401167e82cedda39077977..9727ad3d4edb9b331d62ecf122fd5379a6953dcd 100644 (file)
@@ -19,7 +19,7 @@ __syscall_cp_asm:
        mov %r11,8(%rsp)
 1:     syscall
        xor %ecx,%ecx
-       mov 8(%rsp),%edi
+       mov 8(%rsp),%rdi
        mov %rcx,(%rdi)
        ret
 2:     call __cancel