aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lepore <ian@FreeBSD.org>2015-02-21 22:19:59 +0000
committerIan Lepore <ian@FreeBSD.org>2015-02-21 22:19:59 +0000
commit6baca8256b96418762612ede0528ab22e31d2814 (patch)
tree444b6456fc0e84c224abeb766be7ca24a2c7cacf
parentcc3a001f1c7ae108932d77e8142be33edc7cf1d2 (diff)
downloadsrc-6baca8256b96418762612ede0528ab22e31d2814.tar.gz
src-6baca8256b96418762612ede0528ab22e31d2814.zip
Notes
-rw-r--r--sys/arm/include/atomic.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arm/include/atomic.h b/sys/arm/include/atomic.h
index 5857f5d96689..57fdf717aa81 100644
--- a/sys/arm/include/atomic.h
+++ b/sys/arm/include/atomic.h
@@ -582,8 +582,8 @@ atomic_load_64(volatile uint64_t *p)
/*
* The only way to atomically load 64 bits is with LDREXD which puts the
- * exclusive monitor into the open state, so reset it with CLREX because
- * we don't actually need to store anything.
+ * exclusive monitor into the exclusive state, so reset it to open state
+ * with CLREX because we don't actually need to store anything.
*/
__asm __volatile(
"1: \n"