diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-12-18 02:27:11 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-12-18 02:27:11 +0000 |
commit | 6c3eb26af3720f4783e02133625f8ad6f228c15b (patch) | |
tree | a820bc67b37eb809d4f685a4685eb3f0434aa619 /nptl/init.c | |
parent | 382168de70b8a61fcddfaa97b45c34a1a5ac2455 (diff) | |
download | glibc-6c3eb26af3720f4783e02133625f8ad6f228c15b.tar.gz glibc-6c3eb26af3720f4783e02133625f8ad6f228c15b.tar.xz glibc-6c3eb26af3720f4783e02133625f8ad6f228c15b.zip |
(__pthread_initialize_minimal_internal): Don't treat architectures with separate register stack special here when computing default stack size.
Diffstat (limited to 'nptl/init.c')
-rw-r--r-- | nptl/init.c | 4 |
1 files changed, 0 insertions, 4 deletions
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); |