diff options
author | Florian Weimer <fweimer@redhat.com> | 2020-11-13 15:19:41 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2020-11-13 15:20:10 +0100 |
commit | 26f7c72a99f4e46755ec2ff23a6a7cf9c2c337c3 (patch) | |
tree | 709823d1994876ad92abcffe368bb74899dfd1e5 /nptl/pthreadP.h | |
parent | d5c4cce9c3eb82cb57d01a3ce3a0999e146abd63 (diff) | |
download | glibc-26f7c72a99f4e46755ec2ff23a6a7cf9c2c337c3.tar.gz |
nptl: Eliminate <smp.h> and __is_smp
Most systems are SMP, so optimizing for the UP case is no longer
approriate. A dynamic check based on the kernel identification
has been only implemented for i386 anyway.
To disable adaptive mutexes on sh, define DEFAULT_ADAPTIVE_COUNT
as zero for this architecture.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'nptl/pthreadP.h')
-rw-r--r-- | nptl/pthreadP.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/nptl/pthreadP.h b/nptl/pthreadP.h index 710b21e890..686f54aa93 100644 --- a/nptl/pthreadP.h +++ b/nptl/pthreadP.h @@ -208,9 +208,6 @@ extern void __default_pthread_attr_freeres (void) attribute_hidden; extern size_t __static_tls_size attribute_hidden; extern size_t __static_tls_align_m1 attribute_hidden; -/* Flag whether the machine is SMP or not. */ -extern int __is_smp attribute_hidden; - /* Thread descriptor handling. */ extern list_t __stack_user; hidden_proto (__stack_user) |