Author: ian
Date: Sat Feb 21 22:19:59 2015
New Revision: 279114
URL: https://svnweb.freebsd.org/changeset/base/279114

Log:
  Correct a comment which was exactly backwards from reality.

Modified:
  head/sys/arm/include/atomic.h

Modified: head/sys/arm/include/atomic.h
==============================================================================
--- head/sys/arm/include/atomic.h       Sat Feb 21 22:10:14 2015        
(r279113)
+++ head/sys/arm/include/atomic.h       Sat Feb 21 22:19:59 2015        
(r279114)
@@ -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"
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to