about summary refs log tree commit diff
path: root/sysdeps/sparc/sparc64
diff options
context:
space:
mode:
authorTorvald Riegel <triegel@redhat.com>2014-10-29 19:14:14 +0100
committerTorvald Riegel <triegel@redhat.com>2014-10-31 12:00:38 +0100
commitff9dbdc048f8341c5f1bc6a6982b669b49a40983 (patch)
treea9892da9b3867c93227507fb8bf018b852019dfa /sysdeps/sparc/sparc64
parentb4f6688462ba4f7fb4766f11ed5b70c70ea0623a (diff)
downloadglibc-ff9dbdc048f8341c5f1bc6a6982b669b49a40983.tar.gz
glibc-ff9dbdc048f8341c5f1bc6a6982b669b49a40983.tar.xz
glibc-ff9dbdc048f8341c5f1bc6a6982b669b49a40983.zip
Fix SPARC atomic_write_barrier.
Diffstat (limited to 'sysdeps/sparc/sparc64')
-rw-r--r--sysdeps/sparc/sparc64/bits/atomic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/sparc/sparc64/bits/atomic.h b/sysdeps/sparc/sparc64/bits/atomic.h
index ad9dae1d0f..d348ed20ae 100644
--- a/sysdeps/sparc/sparc64/bits/atomic.h
+++ b/sysdeps/sparc/sparc64/bits/atomic.h
@@ -117,4 +117,4 @@ typedef uintmax_t uatomic_max_t;
 #define atomic_read_barrier() \
   __asm __volatile ("membar #LoadLoad | #LoadStore" : : : "memory")
 #define atomic_write_barrier() \
-  __asm __volatile ("membar #StoreLoad | #StoreStore" : : : "memory")
+  __asm __volatile ("membar #LoadStore | #StoreStore" : : : "memory")