Commit 11e8f687 by Andi Kleen Committed by Andi Kleen

Fix __atomic_store_n typo in recent manual change

gcc/:
2013-06-22  Andi Kleen  <ak@linux.intel.com>

       * doc/extend.texi: Use __atomic_store_n instead of
       __atomic_store in HLE example.

From-SVN: r200333
parent 664dd721
2013-06-22 Andi Kleen <ak@linux.intel.com>
* doc/extend.texi: Use __atomic_store_n instead of
__atomic_store in HLE example.
2013-06-22 Oleg Endo <olegendo@gcc.gnu.org>
* config/sh/sh.c: Remove <cstdlib> workaround.
......
......@@ -7538,7 +7538,7 @@ while (__atomic_exchange_n(&lockvar, 1, __ATOMIC_ACQUIRE|__ATOMIC_HLE_ACQUIRE))
_mm_pause(); /* Abort failed transaction */
...
/* Free lock with lock elision */
__atomic_store(&lockvar, 0, __ATOMIC_RELEASE|__ATOMIC_HLE_RELEASE);
__atomic_store_n(&lockvar, 0, __ATOMIC_RELEASE|__ATOMIC_HLE_RELEASE);
@end smallexample
@node Object Size Checking
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment