summaryrefslogtreecommitdiffstats
path: root/lib/librthread
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2013-06-04 17:55:51 +0000
committermiod <miod@openbsd.org>2013-06-04 17:55:51 +0000
commit5d7edf2709f4d629bf5e6d436486427780ef901b (patch)
tree5d52ab4f853b020bc47926e16fa68ef8b71b21ec /lib/librthread
parentremove orphaned macros (diff)
downloadwireguard-openbsd-5d7edf2709f4d629bf5e6d436486427780ef901b.tar.xz
wireguard-openbsd-5d7edf2709f4d629bf5e6d436486427780ef901b.zip
fix typo in comment
Diffstat (limited to 'lib/librthread')
-rw-r--r--lib/librthread/arch/alpha/_atomic_lock.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/librthread/arch/alpha/_atomic_lock.S b/lib/librthread/arch/alpha/_atomic_lock.S
index a0b2993cc80..af482bcd004 100644
--- a/lib/librthread/arch/alpha/_atomic_lock.S
+++ b/lib/librthread/arch/alpha/_atomic_lock.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: _atomic_lock.S,v 1.2 2013/06/01 20:47:40 tedu Exp $ */
+/* $OpenBSD: _atomic_lock.S,v 1.3 2013/06/04 17:55:51 miod Exp $ */
/* David Leonard, <d@csee.uq.edu.au>. Public domain. */
#include <machine/asm.h>
@@ -7,7 +7,7 @@ LEAF(_atomic_lock,1)
LDGP(pv)
/* NOTE: using ldl_l/stl_c instead of
- ldq_l and ldq_c as machine/spinlock.h
+ ldq_l and stq_c as machine/spinlock.h
defines _atomic_lock_t as int */
0: ldl_l v0, 0(a0) /* read existing lock value */
mov 1, t0 /* locked value to store */