about summary refs log tree commit diff
path: root/nptl/pthread_mutex_conf.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-04-21 19:49:51 +0200
committerFlorian Weimer <fweimer@redhat.com>2021-04-21 19:49:51 +0200
commiteda0c098ed31489ce21f15d775ed96c1f6b395ad (patch)
treeeb5216e67e16329272ae61039847cc172b67a5aa /nptl/pthread_mutex_conf.c
parent1f3ed1e0c8ede2ec0aa8b5913de7abc6791c986f (diff)
downloadglibc-eda0c098ed31489ce21f15d775ed96c1f6b395ad.tar.gz
glibc-eda0c098ed31489ce21f15d775ed96c1f6b395ad.tar.xz
glibc-eda0c098ed31489ce21f15d775ed96c1f6b395ad.zip
nptl: Move internal symbol __mutex_aconf into libc
This is in preparation of moving the mutex code into libc.

__pthread_tunables_init is now called via __pthread_early_init.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
Diffstat (limited to 'nptl/pthread_mutex_conf.c')
-rw-r--r--nptl/pthread_mutex_conf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nptl/pthread_mutex_conf.c b/nptl/pthread_mutex_conf.c
index e6532ba1d7..e6235dea47 100644
--- a/nptl/pthread_mutex_conf.c
+++ b/nptl/pthread_mutex_conf.c
@@ -30,6 +30,7 @@ struct mutex_config __mutex_aconf =
   calling into kernel to block.  */
   .spin_count = DEFAULT_ADAPTIVE_COUNT,
 };
+libc_hidden_data_def (__mutex_aconf)
 
 static void
 TUNABLE_CALLBACK (set_mutex_spin_count) (tunable_val_t *valp)