diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2019-11-08 03:03:43 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2019-11-08 03:03:43 +0100 |
commit | d0bc0d2bc8e5898bed6dfa6f253d164e9fc149f4 (patch) | |
tree | e6315b68a6c5100bdcec391cd965ef63d5291f82 /libpthread/nptl/sysdeps/unix/sysv/linux/aarch64/bits/pthreadtypes.h | |
parent | cb9d1f53717dd67892ba943626f3d1b46f3e760b (diff) |
riscv64: implement NPTL/TLS
basically from or1k port of uClibc-ng, with fixes for structures in
pthreadtypes.h from 64 bit architectures.
18 testsuite failures counted.
Diffstat (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux/aarch64/bits/pthreadtypes.h')
-rw-r--r-- | libpthread/nptl/sysdeps/unix/sysv/linux/aarch64/bits/pthreadtypes.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/aarch64/bits/pthreadtypes.h b/libpthread/nptl/sysdeps/unix/sysv/linux/aarch64/bits/pthreadtypes.h index 47293a1a8..67fcee28b 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/aarch64/bits/pthreadtypes.h +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/aarch64/bits/pthreadtypes.h @@ -36,7 +36,6 @@ exposed on purpose. */ typedef unsigned long int pthread_t; - union pthread_attr_t { char __size[__SIZEOF_PTHREAD_ATTR_T]; @@ -44,7 +43,7 @@ union pthread_attr_t }; #ifndef __have_pthread_attr_t typedef union pthread_attr_t pthread_attr_t; -# define __have_pthread_attr_t1 +# define __have_pthread_attr_t 1 #endif typedef struct __pthread_internal_list @@ -75,9 +74,6 @@ typedef union long int __align; } pthread_mutex_t; -/* Mutex __spins initializer used by PTHREAD_MUTEX_INITIALIZER. */ -#define __PTHREAD_SPINS 0 - typedef union { char __size[__SIZEOF_PTHREAD_MUTEXATTR_T]; @@ -141,8 +137,6 @@ typedef union long int __align; } pthread_rwlock_t; -#define __PTHREAD_RWLOCK_ELISION_EXTRA 0 - typedef union { char __size[__SIZEOF_PTHREAD_RWLOCKATTR_T]; |