diff options
author | Andi Kleen <ak@linux.intel.com> | 2013-06-22 17:23:08 +0000 |
---|---|---|
committer | Andi Kleen <ak@gcc.gnu.org> | 2013-06-22 17:23:08 +0000 |
commit | 11e8f687dff42b0ef93f940b8c2ce772962735d3 (patch) | |
tree | 3711294757e717975ec7c9bac643108680e354d0 | |
parent | 664dd7217be541ccb5c8348a6678cb3a50f5d28f (diff) | |
download | gcc-11e8f687dff42b0ef93f940b8c2ce772962735d3.zip gcc-11e8f687dff42b0ef93f940b8c2ce772962735d3.tar.gz gcc-11e8f687dff42b0ef93f940b8c2ce772962735d3.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/doc/extend.texi | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9ee6104..b43cad7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +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. diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 77295f1..e50f2a4 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -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 |