summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2011-01-19 14:50:20 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2011-01-19 14:50:20 +0000
commit67c0cb82b67a0b1941861b0d18f68bc16b54f959 (patch)
tree9cd4b13b69c23601057e0495c97314a486ddec96
parent0fab42f14ea1236ed57ecb5cc65fa1d26b44b8eb (diff)
2011-01-19 Joel Sherrill <joel.sherrilL@OARcorp.com>
* sapi/include/confdefs.h: Account for POSIX threads having a minimum of 2x the minimum stack size.
-rw-r--r--cpukit/ChangeLog5
-rw-r--r--cpukit/sapi/include/confdefs.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 4daba8de04..b8fb48a68b 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,3 +1,8 @@
+2011-01-19 Joel Sherrill <joel.sherrilL@OARcorp.com>
+
+ * sapi/include/confdefs.h: Account for POSIX threads having a minimum
+ of 2x the minimum stack size.
+
2010-11-16 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1717/cpukit
diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h
index b6311f5a06..929f72643c 100644
--- a/cpukit/sapi/include/confdefs.h
+++ b/cpukit/sapi/include/confdefs.h
@@ -1294,6 +1294,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)) \
)