diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2019-11-04 16:14:04 +0000 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2019-11-26 13:53:36 +0000 |
commit | 0377a7fde6dfcc078dda29a1225d7720a0931357 (patch) | |
tree | b8e4201c1c67042d6187ccdb1a7b4d02f5c7958a /sysdeps/nptl | |
parent | 48dbce60cfdd328b671aaa9ee0c54ded3246ece9 (diff) | |
download | glibc-0377a7fde6dfcc078dda29a1225d7720a0931357.tar.gz glibc-0377a7fde6dfcc078dda29a1225d7720a0931357.tar.xz glibc-0377a7fde6dfcc078dda29a1225d7720a0931357.zip |
nptl: Remove rwlock elision definitions
The new rwlock implementation added by cc25c8b4c1196 (2.25) removed support for lock-elision. This patch removes remaining the arch-specific unused definitions. Checked with a build against all affected ABIs. Change-Id: I5dec8af50e3cd56d7351c52ceff4aa3771b53cd6
Diffstat (limited to 'sysdeps/nptl')
-rw-r--r-- | sysdeps/nptl/pthread.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/nptl/pthread.h b/sysdeps/nptl/pthread.h index a4ff323b76..f2b21accbc 100644 --- a/sysdeps/nptl/pthread.h +++ b/sysdeps/nptl/pthread.h @@ -131,17 +131,17 @@ enum /* Read-write lock initializers. */ # define PTHREAD_RWLOCK_INITIALIZER \ - { { 0, 0, 0, 0, 0, 0, 0, 0, __PTHREAD_RWLOCK_ELISION_EXTRA, 0, 0 } } + { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } } # ifdef __USE_GNU # ifdef __PTHREAD_RWLOCK_INT_FLAGS_SHARED # define PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP \ - { { 0, 0, 0, 0, 0, 0, 0, 0, __PTHREAD_RWLOCK_ELISION_EXTRA, 0, \ + { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \ PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP } } # else # if __BYTE_ORDER == __LITTLE_ENDIAN # define PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP \ { { 0, 0, 0, 0, 0, 0, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP, \ - 0, __PTHREAD_RWLOCK_ELISION_EXTRA, 0, 0 } } + 0, 0, 0, 0 } } # else # define PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP \ { { 0, 0, 0, 0, 0, 0, 0, 0, 0, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP,\ |