]> granicus.if.org Git - libatomic_ops/commitdiff
Fix a typo in comment of compare_double_and_swap_double (x86_64)
authorIvan Maidanski <ivmai@mail.ru>
Tue, 18 Sep 2012 17:21:47 +0000 (21:21 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 18 Sep 2012 17:22:45 +0000 (19:22 +0200)
* src/atomic_ops/sysdeps/gcc/x86_64.h
(AO_compare_double_and_swap_double_full): Fix a typo in comment.
* src/atomic_ops/sysdeps/sunc/x86_64.h
(AO_compare_double_and_swap_double_full): Likewise.

src/atomic_ops/sysdeps/gcc/x86_64.h
src/atomic_ops/sysdeps/sunc/x86_64.h

index 6ddc9ac94b772ca70a4181f23dca6bfca263fc7d..9807df06d50b3c5de1ba5fb795f8a7669a12788f 100644 (file)
@@ -135,7 +135,7 @@ AO_compare_and_swap_full(volatile AO_t *addr, AO_t old, AO_t new_val)
 /* HB: Changed this to not define either by default.  There are
  * enough machines and tool chains around on which cmpxchg16b
  * doesn't work.  And the emulation is unsafe by our usual rules.
- * Hoewever both are clearly useful in certain cases.
+ * However both are clearly useful in certain cases.
  */
 AO_INLINE int
 AO_compare_double_and_swap_double_full(volatile AO_double_t *addr,
index b07169e84d231502437e9d8c1d8cd6da1effef3d..29d5647fa4dffc7df4fb7e124724c8157b5dc6f1 100644 (file)
@@ -132,7 +132,7 @@ AO_compare_and_swap_full (volatile AO_t *addr, AO_t old, AO_t new_val)
 /* HB: Changed this to not define either by default.  There are
  * enough machines and tool chains around on which cmpxchg16b
  * doesn't work.  And the emulation is unsafe by our usual rules.
- * Hoewever both are clearly useful in certain cases.
+ * However both are clearly useful in certain cases.
  */
 AO_INLINE int
 AO_compare_double_and_swap_double_full (volatile AO_double_t *addr,