aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>2014-03-25 08:21:24 -0500
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>2014-03-25 08:21:24 -0500
commit449282f2e0e850c29f6a9666058503d4734964f0 (patch)
treeb9276a3ae2a99719e01507b509d356b50fe86910
parent046651c1688ff0eaa385d555dc4f24fd51a64460 (diff)
downloadglibc-449282f2e0e850c29f6a9666058503d4734964f0.tar
glibc-449282f2e0e850c29f6a9666058503d4734964f0.tar.gz
glibc-449282f2e0e850c29f6a9666058503d4734964f0.tar.bz2
glibc-449282f2e0e850c29f6a9666058503d4734964f0.zip
PowerPC: Fix -Wundef warning for __PTHREAD_MUTEX_HAVE_ELISION.
-rw-r--r--ChangeLog5
-rw-r--r--nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index b8f1d86d5a..ef2263e133 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
+
+ * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
+ (__PTHREAD_MUTEX_HAVE_ELISION): New define.
+
2014-03-25 Joseph Myers <joseph@codesourcery.com>
[BZ #16357]
diff --git a/nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h b/nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
index 71bd3aed12..ac7351f130 100644
--- a/nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
+++ b/nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
@@ -21,6 +21,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