summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/arch/powerpc/_atomic_lock.c
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2006-02-06 17:03:17 +0000
committerjmc <jmc@openbsd.org>2006-02-06 17:03:17 +0000
commit596f05b76d6bb97d20f0f6f05e9d4fe64e13472d (patch)
treea0c2ef96da87623d8a3b1fef3e014f6d201531a9 /lib/libpthread/arch/powerpc/_atomic_lock.c
parenttypos from alexey dobriyan; (diff)
downloadwireguard-openbsd-596f05b76d6bb97d20f0f6f05e9d4fe64e13472d.tar.xz
wireguard-openbsd-596f05b76d6bb97d20f0f6f05e9d4fe64e13472d.zip
typos from alexey dobriyan;
Diffstat (limited to 'lib/libpthread/arch/powerpc/_atomic_lock.c')
-rw-r--r--lib/libpthread/arch/powerpc/_atomic_lock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpthread/arch/powerpc/_atomic_lock.c b/lib/libpthread/arch/powerpc/_atomic_lock.c
index 200d91a626e..604deb60bb4 100644
--- a/lib/libpthread/arch/powerpc/_atomic_lock.c
+++ b/lib/libpthread/arch/powerpc/_atomic_lock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: _atomic_lock.c,v 1.6 2005/12/14 21:29:48 drahn Exp $ */
+/* $OpenBSD: _atomic_lock.c,v 1.7 2006/02/06 17:03:17 jmc Exp $ */
/*
* Atomic lock for powerpc
*/
@@ -23,7 +23,7 @@ _atomic_lock(volatile _spinlock_lock_t *lock)
/*
* Dale <drahn@openbsd.org> says:
* Side note. to prevent two processes from accessing
- * the same address with the lwarx in one instrution
+ * the same address with the lwarx in one instruction
* and the stwcx in another process, the current powerpc
* kernel uses a stwcx instruction without the corresponding
* lwarx which causes any reservation of a process