S/390: Define __PTHREAD_MUTEX_HAVE_ELISION.
Commit Message
Hi,
according to the -Wundef flag, i got a warning on S390 for
__PTHREAD_MUTEX_HAVE_ELISION.
In combination with the -Werror flag for nptl/tst-initializers1*
testcases, the prerequirements for make check fails because of
build-errors and no tests.sum is generated.
For S/390 lock elision is currently not available.
Bye
---
2014-03-20 Stefan Liebler <stli@linux.vnet.ibm.com>
* nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
(__PTHREAD_MUTEX_HAVE_ELISION): New define.
---
@@ -20,6 +20,8 @@
#include <bits/wordsize.h>
+# define __PTHREAD_MUTEX_HAVE_ELISION 0
+
#if __WORDSIZE == 64
# define __SIZEOF_PTHREAD_ATTR_T 56
# define __SIZEOF_PTHREAD_MUTEX_T 40