aboutsummaryrefslogtreecommitdiff
path: root/libgomp/config/linux/s390/futex.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2011-12-02 21:24:02 +1030
committerAlan Modra <amodra@gcc.gnu.org>2011-12-02 21:24:02 +1030
commit45608a43c4716d018288df65f56dacd931f7e74f (patch)
treeed5450e7e342051fc91b5bc0cb44db70ed1027e0 /libgomp/config/linux/s390/futex.h
parentb1c83c23806e200f28a5467e682344bf828dfc9e (diff)
downloadgcc-45608a43c4716d018288df65f56dacd931f7e74f.zip
gcc-45608a43c4716d018288df65f56dacd931f7e74f.tar.gz
gcc-45608a43c4716d018288df65f56dacd931f7e74f.tar.bz2
affinity.c: Use atomic rather than sync builtin.
* config/linux/affinity.c: Use atomic rather than sync builtin. * config/linux/lock.c: Likewise. * config/linux/ptrlock.h: Likewise. * config/linux/ptrlock.c: Likewise. * config/linux/ptrlock.h (gomp_ptrlock_set): Always write here.. * config/linux/ptrlock.c (gomp_ptrlock_set_slow): ..not here. * config/linux/futex.h (atomic_write_barrier): Delete unused function. * config/linux/alpha/futex.h (atomic_write_barrier): Likewise. * config/linux/ia64/futex.h (atomic_write_barrier): Likewise. * config/linux/mips/futex.h (atomic_write_barrier): Likewise. * config/linux/powerpc/futex.h (atomic_write_barrier): Likewise. * config/linux/s390/futex.h (atomic_write_barrier): Likewise. * config/linux/sparc/futex.h (atomic_write_barrier): Likewise. * config/linux/x86/futex.h (atomic_write_barrier): Likewise. From-SVN: r181906
Diffstat (limited to 'libgomp/config/linux/s390/futex.h')
-rw-r--r--libgomp/config/linux/s390/futex.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/libgomp/config/linux/s390/futex.h b/libgomp/config/linux/s390/futex.h
index 060032d7..e015c92 100644
--- a/libgomp/config/linux/s390/futex.h
+++ b/libgomp/config/linux/s390/futex.h
@@ -76,9 +76,3 @@ cpu_relax (void)
{
__asm volatile ("" : : : "memory");
}
-
-static inline void
-atomic_write_barrier (void)
-{
- __sync_synchronize ();
-}