From 01f8eac224421f07f28f91cc05db7459ea433ea4 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Wed, 26 Mar 2014 13:48:00 -0500 Subject: Move __PTHREAD_SPINS definition to architecture specific header This patch moves the __PTHREAD_SPINS definition to arch specific header since pthread_mutex_t layout is also arch specific. This leads to no need to defining __PTHREAD_MUTEX_HAVE_ELISION and thus removing of the undefined compiler warning. --- ChangeLog | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 7e1c54ca95..ae8cab2b75 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,35 @@ +2014-04-09 Adhemerval Zanella + + * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION): + Remove macro usage. + (__PTHREAD_SPINS): Move definition to ... + * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h + (__PTHREAD_SPINS): ... here. + * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h + (__PTHREAD_SPIN): Likewise. + * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h + (__PTHREAD_SPIN): Likewise. + * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h + (__PTHREAD_SPIN): Likewise. + * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h + (__PTHREAD_SPIN): Likewise. + * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h + (__PTHREAD_SPIN): Likewise. + * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h + (__PTHREAD_SPIN): Likewise. + * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h + (__PTHREAD_SPIN): Likewise. + * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h + (__PTHREAD_SPIN): Likewise. + * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h + (__PTHREAD_SPIN): Likewise. + * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h + (__PTHREAD_SPIN): Likewise. + * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h + (__PTHREAD_SPIN): Likewise. + * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h + (__PTHREAD_SPIN): Likewise. + 2014-04-09 Adhemerval Zanella * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file. -- cgit v1.2.3