summaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorak <ak@138bc75d-0d04-0410-961f-82ee72b054a4>2013-06-22 17:23:08 +0000
committerak <ak@138bc75d-0d04-0410-961f-82ee72b054a4>2013-06-22 17:23:08 +0000
commit0604bcfb86894dbbb16faf96f1f13e9137190ac1 (patch)
tree3711294757e717975ec7c9bac643108680e354d0 /gcc/doc
parent9553eedb45b0b57600b60f315dbe5b2a75d2f986 (diff)
downloadgcc-0604bcfb86894dbbb16faf96f1f13e9137190ac1.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200333 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/extend.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 77295f15440..e50f2a4eb1d 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