diff options
author | Alan Modra <amodra@gmail.com> | 2011-12-02 21:24:02 +1030 |
---|---|---|
committer | Alan Modra <amodra@gcc.gnu.org> | 2011-12-02 21:24:02 +1030 |
commit | 45608a43c4716d018288df65f56dacd931f7e74f (patch) | |
tree | ed5450e7e342051fc91b5bc0cb44db70ed1027e0 /libgomp/config/linux/s390/futex.h | |
parent | b1c83c23806e200f28a5467e682344bf828dfc9e (diff) | |
download | gcc-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.h | 6 |
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 (); -} |