(__pthread_initialize_minimal_internal): Don't treat architectures with separate register stack special here when computing default stack size.

This commit is contained in:
Ulrich Drepper 2003-12-18 02:27:11 +00:00
parent 382168de70
commit 6c3eb26af3

View File

@ -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);