summary refs log tree commit diff
diff options
context:
space:
mode:
authorStefan Liebler <stli@linux.vnet.ibm.com>2014-03-24 16:31:13 +0100
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>2014-03-24 16:59:01 +0100
commitf1399b5a2bc03e0585f16e892b635c503e72563b (patch)
treeb7cf5afadc262ff05497a7f427e6fce06b34aff0
parenta071766ebfd853179ac39f9773f894029bf86d36 (diff)
downloadglibc-f1399b5a2bc03e0585f16e892b635c503e72563b.tar.gz
glibc-f1399b5a2bc03e0585f16e892b635c503e72563b.tar.xz
glibc-f1399b5a2bc03e0585f16e892b635c503e72563b.zip
S390: Fix -Wundef warning for __PTHREAD_MUTEX_HAVE_ELISION.
-rw-r--r--ChangeLog5
-rw-r--r--nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d406f350cf..89d9f2999f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
+
+	* nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
+	(__PTHREAD_MUTEX_HAVE_ELISION): New define.
+
 2014-03-20  Andreas Schwab  <schwab@suse.de>
 
 	[BZ #16743]
diff --git a/nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h b/nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
index a361db6edb..23a16988c3 100644
--- a/nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
+++ b/nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
@@ -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