[PATCH] PowerPC: Define __PTHREAD_MUTEX_HAVE_ELISION to 0
Adhemerval Zanella
azanella@linux.vnet.ibm.com
Fri Mar 21 18:38:00 GMT 2014
This patch cleanups the compiler warnings on powerpc* builds.
--
* nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
(__PTHREAD_MUTEX_HAVE_ELISION): Define it to 0.
---
diff --git a/nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h b/nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
index 71bd3ae..ac7351f 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
More information about the Libc-alpha
mailing list