From 756614920c471b0195c5567a5fd06d2b2667ae7b Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Tue, 18 Sep 2012 21:21:47 +0400 Subject: [PATCH] Fix a typo in comment of compare_double_and_swap_double (x86_64) * 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 | 2 +- src/atomic_ops/sysdeps/sunc/x86_64.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/atomic_ops/sysdeps/gcc/x86_64.h b/src/atomic_ops/sysdeps/gcc/x86_64.h index 5312a45..a2d4346 100644 --- a/src/atomic_ops/sysdeps/gcc/x86_64.h +++ b/src/atomic_ops/sysdeps/gcc/x86_64.h @@ -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, diff --git a/src/atomic_ops/sysdeps/sunc/x86_64.h b/src/atomic_ops/sysdeps/sunc/x86_64.h index a5fe2d4..fbd50c0 100644 --- a/src/atomic_ops/sysdeps/sunc/x86_64.h +++ b/src/atomic_ops/sysdeps/sunc/x86_64.h @@ -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, -- 2.7.4