From 6baca8256b96418762612ede0528ab22e31d2814 Mon Sep 17 00:00:00 2001 From: Ian Lepore Date: Sat, 21 Feb 2015 22:19:59 +0000 Subject: Correct a comment which was exactly backwards from reality. --- sys/arm/include/atomic.h | 4 ++-- 1 file 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" -- cgit v1.2.3