summaryrefslogtreecommitdiff
path: root/src/atomic_ops/sysdeps/aligned_atomic_load_store.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/atomic_ops/sysdeps/aligned_atomic_load_store.h')
-rw-r--r--src/atomic_ops/sysdeps/aligned_atomic_load_store.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/atomic_ops/sysdeps/aligned_atomic_load_store.h b/src/atomic_ops/sysdeps/aligned_atomic_load_store.h
index 071bea0..d24fe1d 100644
--- a/src/atomic_ops/sysdeps/aligned_atomic_load_store.h
+++ b/src/atomic_ops/sysdeps/aligned_atomic_load_store.h
@@ -20,10 +20,8 @@
* SOFTWARE.
*/
-/*
- * Definitions for architectures on which loads and stores of AO_t are
- * atomic fo all legal alignments.
- */
+/* Definitions for architectures on which loads and stores of AO_t are */
+/* atomic fo all legal alignments. */
AO_INLINE AO_t
AO_load(const volatile AO_t *addr)
@@ -33,7 +31,6 @@ AO_load(const volatile AO_t *addr)
/* volatile adds barrier semantics. */
return *(AO_t *)addr;
}
-
#define AO_HAVE_load
AO_INLINE void
@@ -42,5 +39,4 @@ AO_store(volatile AO_t *addr, AO_t new_val)
assert(((size_t)addr & (sizeof(AO_t) - 1)) == 0);
(*(AO_t *)addr) = new_val;
}
-
#define AO_HAVE_store