mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-01 10:06:57 +03:00
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>
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user