]> 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: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 5312a4541dced017ee130b88d846d85477dd9256..a2d434668954cea47ab6b4ed9f5ee632ec98edfc 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 a5fe2d4d22c1829771af7426c88a34c88429d31f..fbd50c028a6a06f9234b7bd849c8778cabf558ea 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,