Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Feb 2015 22:20:00 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r279114 - head/sys/arm/include
Message-ID:  <201502212220.t1LMK0fj006315@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502212220.t1LMK0fj006315>