summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-11-16 19:14:10 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-11-16 19:14:10 +0000
commitdb5f1341c295f82e4a268382e7cbb0a5a5ac537f (patch)
tree86f0a5ac87fc914e7409126876a0a8582d542a7d /cpukit/sapi
parent2010-11-16 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-db5f1341c295f82e4a268382e7cbb0a5a5ac537f.tar.bz2
2010-11-16 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1718/cpukit * sapi/include/confdefs.h: POSIX threads are allocated twice the minimum stack space by default. confdefs.h only accounts for one minimum -- not the 2x factor.
Diffstat (limited to 'cpukit/sapi')
-rw-r--r--cpukit/sapi/include/confdefs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h
index 58dcc5bf6b..e6f8edaed2 100644
--- a/cpukit/sapi/include/confdefs.h
+++ b/cpukit/sapi/include/confdefs.h
@@ -1319,6 +1319,7 @@ rtems_fs_init_functions_t rtems_fs_init_helper =
#define CONFIGURE_MEMORY_PER_TASK_FOR_POSIX_API \
_Configure_From_workspace( \
+ CONFIGURE_MINIMUM_TASK_STACK_SIZE + \
sizeof (POSIX_API_Control) + \
(sizeof (void *) * (CONFIGURE_MAXIMUM_POSIX_KEYS)) \
)