From 6c3eb26af3720f4783e02133625f8ad6f228c15b Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 18 Dec 2003 02:27:11 +0000 Subject: (__pthread_initialize_minimal_internal): Don't treat architectures with separate register stack special here when computing default stack size. --- nptl/init.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'nptl') diff --git a/nptl/init.c b/nptl/init.c index 36b65425f5..4318552226 100644 --- a/nptl/init.c +++ b/nptl/init.c @@ -249,11 +249,7 @@ __pthread_initialize_minimal_internal (void) default. */ limit.rlim_cur = ARCH_STACK_DEFAULT_SIZE; -#ifdef NEED_SEPARATE_REGISTER_STACK - __default_stacksize = MAX (limit.rlim_cur / 2, PTHREAD_STACK_MIN); -#else __default_stacksize = MAX (limit.rlim_cur, PTHREAD_STACK_MIN); -#endif /* The maximum page size better should be a multiple of the page size. */ assert (__default_stacksize % __sysconf (_SC_PAGESIZE) == 0); -- cgit 1.4.1