summaryrefslogtreecommitdiff
path: root/lib/libpthread/arch/alpha
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-11-29 09:27:36 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-11-29 09:27:36 +0000
commit36b5e219fd88986592e92468b60f222f9c68769a (patch)
treef11329f78d900d2d95c12b7818d413243aa705ee /lib/libpthread/arch/alpha
parentb41241a44179e201aa45aa46d748473621bd8bc3 (diff)
Foward; torh@bogus.net
Diffstat (limited to 'lib/libpthread/arch/alpha')
-rw-r--r--lib/libpthread/arch/alpha/uthread_machdep_asm.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpthread/arch/alpha/uthread_machdep_asm.S b/lib/libpthread/arch/alpha/uthread_machdep_asm.S
index ce5378d280f..0069eda0041 100644
--- a/lib/libpthread/arch/alpha/uthread_machdep_asm.S
+++ b/lib/libpthread/arch/alpha/uthread_machdep_asm.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: uthread_machdep_asm.S,v 1.2 2002/06/06 15:43:04 art Exp $ */
+/* $OpenBSD: uthread_machdep_asm.S,v 1.3 2002/11/29 09:27:34 deraadt Exp $ */
/* David Leonard, <d@csee.uq.edu.au>. Public domain. */
#include <machine/asm.h>
@@ -69,7 +69,7 @@ LEAF(_atomic_lock,1)
0: ldq_l v0, 0(a0) /* read existing lock value */
mov 1, t0 /* locked value to store */
stq_c t0, 0(a0) /* attempt to store, status in t0 */
- beq t0, 1f /* branch foward to optimise prediction */
+ beq t0, 1f /* branch forward to optimise prediction */
mb /* sync with other processors */
RET /* return with v0==0 if lock obtained */
1: br 0b /* loop to try again */