use inline syscalls for powerpc (32-bit)
[musl] / src / thread / x86_64 / syscall_cp.s
index 1a0fd5d..4f10171 100644 (file)
@@ -14,7 +14,7 @@ __syscall_cp_asm:
 __cp_begin:
        mov (%rdi),%eax
        test %eax,%eax
-       jnz __cancel
+       jnz __cp_cancel
        mov %rdi,%r11
        mov %rsi,%rax
        mov %rdx,%rdi
@@ -27,3 +27,5 @@ __cp_begin:
        syscall
 __cp_end:
        ret
+__cp_cancel:
+       jmp __cancel