summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2011-09-15 10:27:57 +0400
committerIvan Maidanski <ivmai@mail.ru>2011-09-15 10:28:55 +0400
commit30ab2d5d6e3cb323410a5f1782cc80ef68bd400f (patch)
treef632c7e72c46e3b819e11d2152af95723c738708
parent4e7b0ad08cb61c29eb8fe3c423e8751014f4f601 (diff)
downloadlibatomic_ops-30ab2d5d6e3cb323410a5f1782cc80ef68bd400f.tar.gz
Fix a typo in emul_cas.h comment.
* src/atomic_ops/sysdeps/emul_cas.h: Fix a typo (replace AO_FORCE_CAS with AO_REQUIRE_CAS in a comment).
-rw-r--r--src/atomic_ops/sysdeps/emul_cas.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/atomic_ops/sysdeps/emul_cas.h b/src/atomic_ops/sysdeps/emul_cas.h
index 13fb227..10da0b7 100644
--- a/src/atomic_ops/sysdeps/emul_cas.h
+++ b/src/atomic_ops/sysdeps/emul_cas.h
@@ -27,7 +27,7 @@
* Including this file will generate an error if AO_compare_and_swap_full()
* cannot be made available.
* This will be included from platform-specific atomic_ops files
- * if appropriate, and if AO_FORCE_CAS is defined. It should not be
+ * if appropriate, and if AO_REQUIRE_CAS is defined. It should not be
* included directly, especially since it affects the implementation
* of other atomic update primitives.
* The implementation assumes that only AO_store_XXX and AO_test_and_set_XXX