summaryrefslogtreecommitdiff
path: root/libc/sysdeps/powerpc/powerpc32/bits/atomic.h
diff options
context:
space:
mode:
authorjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2013-01-10 00:28:48 +0000
committerjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2013-01-10 00:28:48 +0000
commit00ed3326c2fac75592e173e9d731452e9bb769ff (patch)
tree749aa90fd85da4971d09bc7cb69d79ac7e1ea580 /libc/sysdeps/powerpc/powerpc32/bits/atomic.h
parent28c5710e0d8071ca674ea390549c1b9e969ccde2 (diff)
downloadeglibc2-00ed3326c2fac75592e173e9d731452e9bb769ff.tar.gz
Merge changes between r22062 and r22176 from /fsf/trunk.
git-svn-id: svn://svn.eglibc.org/trunk@22177 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'libc/sysdeps/powerpc/powerpc32/bits/atomic.h')
-rw-r--r--libc/sysdeps/powerpc/powerpc32/bits/atomic.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/sysdeps/powerpc/powerpc32/bits/atomic.h b/libc/sysdeps/powerpc/powerpc32/bits/atomic.h
index 59ba629aa..3e3a1effe 100644
--- a/libc/sysdeps/powerpc/powerpc32/bits/atomic.h
+++ b/libc/sysdeps/powerpc/powerpc32/bits/atomic.h
@@ -1,5 +1,5 @@
/* Atomic operations. PowerPC32 version.
- Copyright (C) 2003, 2004, 2007 Free Software Foundation, Inc.
+ Copyright (C) 2003-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Paul Mackerras <paulus@au.ibm.com>, 2003.
@@ -21,7 +21,7 @@
This is a hint to the hardware to expect additional updates adjacent
to the lock word or not. If we are acquiring a Mutex, the hint
should be true. Otherwise we releasing a Mutex or doing a simple
- atomic operation. In that case we don't expect addtional updates
+ atomic operation. In that case we don't expect additional updates
adjacent to the lock word after the Store Conditional and the hint
should be false. */
@@ -35,7 +35,7 @@
/*
* The 32-bit exchange_bool is different on powerpc64 because the subf
- * does signed 64-bit arthmatic while the lwarx is 32-bit unsigned
+ * does signed 64-bit arithmetic while the lwarx is 32-bit unsigned
* (a load word and zero (high 32) form). So powerpc64 has a slightly
* different version in sysdeps/powerpc/powerpc64/bits/atomic.h.
*/