svn commit: r279114 - head/sys/arm/include

Ian Lepore ian at FreeBSD.org
Sat Feb 21 22:20:00 UTC 2015


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"


More information about the svn-src-all mailing list