summaryrefslogtreecommitdiffstats
path: root/cpukit
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
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')
-rw-r--r--cpukit/ChangeLog7
-rw-r--r--cpukit/sapi/include/confdefs.h1
2 files changed, 8 insertions, 0 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 45bba6f4e3..0645b3659f 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,5 +1,12 @@
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.
+
+2010-11-16 Joel Sherrill <joel.sherrill@oarcorp.com>
+
PR 1717/cpukit
* libcsupport/src/gxx_wrappers.c: Free memory on error.
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)) \
)