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:21:47 +0000 (21:21 +0400)
* 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 5312a45..a2d4346 100644 (file)
@@ -177,7 +177,7 @@ AO_fetch_compare_and_swap_full(volatile AO_t *addr, AO_t old_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 a5fe2d4..fbd50c0 100644 (file)
@@ -170,7 +170,7 @@ AO_fetch_compare_and_swap_full(volatile AO_t *addr, AO_t old_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,