OSDN Git Service

* config/linux/affinity.c: Use atomic rather than sync builtin.
authoramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Dec 2011 10:54:02 +0000 (10:54 +0000)
committeramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Dec 2011 10:54:02 +0000 (10:54 +0000)
commit9736f4d2b7a3111f1158a2cfe2380b2ec89da2ab
treeed5450e7e342051fc91b5bc0cb44db70ed1027e0
parent31cdebfa4a69ec423793fee7c4f09743718d5b5e
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181906 138bc75d-0d04-0410-961f-82ee72b054a4
13 files changed:
libgomp/ChangeLog
libgomp/config/linux/affinity.c
libgomp/config/linux/alpha/futex.h
libgomp/config/linux/futex.h
libgomp/config/linux/ia64/futex.h
libgomp/config/linux/lock.c
libgomp/config/linux/mips/futex.h
libgomp/config/linux/powerpc/futex.h
libgomp/config/linux/ptrlock.c
libgomp/config/linux/ptrlock.h
libgomp/config/linux/s390/futex.h
libgomp/config/linux/sparc/futex.h
libgomp/config/linux/x86/futex.h