about summary refs log tree commit diff
path: root/linuxthreads/sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h')
-rw-r--r--linuxthreads/sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/linuxthreads/sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h b/linuxthreads/sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h
index ea8fd143ff..18ea29c49f 100644
--- a/linuxthreads/sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h
+++ b/linuxthreads/sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h
@@ -42,8 +42,9 @@ __LABEL(name)							\
 	ldgp	gp, 0(pv);					\
 	.prologue 1;						\
 	PSEUDO_PROF;						\
+	PSEUDO_PREPARE_ARGS					\
 	SINGLE_THREAD_P(t0);					\
-	beq	t0, $pseudo_cancel;				\
+	bne	t0, $pseudo_cancel;				\
 	lda	v0, SYS_ify(syscall_name);			\
 	call_pal PAL_callsys;					\
 	bne	a3, $syscall_error;				\