aboutsummaryrefslogtreecommitdiff
path: root/nptl/nptl-init.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-05-10 10:31:42 +0200
committerFlorian Weimer <fweimer@redhat.com>2021-05-10 10:31:42 +0200
commit732139dabeda7ecce0d56200bc176251e759ccde (patch)
treecf54a8fcd1ce035217916297f0477861b7960182 /nptl/nptl-init.c
parent8c1c0da3a8112695d5cc82aae22666321965b42f (diff)
downloadglibc-732139dabeda7ecce0d56200bc176251e759ccde.zip
glibc-732139dabeda7ecce0d56200bc176251e759ccde.tar.gz
glibc-732139dabeda7ecce0d56200bc176251e759ccde.tar.bz2
Linux: Move __reclaim_stacks into the fork implementation in libc
As a result, __libc_pthread_init is no longer needed. Tested-by: Carlos O'Donell <carlos@redhat.com> Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'nptl/nptl-init.c')
-rw-r--r--nptl/nptl-init.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/nptl/nptl-init.c b/nptl/nptl-init.c
index 4c89e7a..16fb66b 100644
--- a/nptl/nptl-init.c
+++ b/nptl/nptl-init.c
@@ -172,9 +172,6 @@ __pthread_initialize_minimal_internal (void)
__default_pthread_attr.internal.stacksize = limit.rlim_cur;
__default_pthread_attr.internal.guardsize = GLRO (dl_pagesize);
lll_unlock (__default_pthread_attr_lock, LLL_PRIVATE);
-
- /* Register the fork generation counter with the libc. */
- __libc_pthread_init (__reclaim_stacks);
}
strong_alias (__pthread_initialize_minimal_internal,
__pthread_initialize_minimal)