summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi/include/confdefs.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-08-22 08:00:48 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-08-22 08:02:15 +0200
commite0660391fa01b71d12f5886e58b5c941543be427 (patch)
tree1205cf76dab26815642ff6612a0d6b1d0ddad94f /cpukit/sapi/include/confdefs.h
parentlibmisc/rtems-fdt: Add RTEMS FDT wrapper and shell command to libmisc. (diff)
downloadrtems-e0660391fa01b71d12f5886e58b5c941543be427.tar.bz2
confdefs: Fix POSIX keys configuration
Remove the OBJECTS_UNLIMITED_OBJECTS flag for the memory size configuration. Update #3105.
Diffstat (limited to 'cpukit/sapi/include/confdefs.h')
-rwxr-xr-xcpukit/sapi/include/confdefs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h
index 50e04b23cb..5fe366089e 100755
--- a/cpukit/sapi/include/confdefs.h
+++ b/cpukit/sapi/include/confdefs.h
@@ -2436,7 +2436,8 @@ extern rtems_initialization_tasks_table Initialization_tasks[];
#define _CONFIGURE_MEMORY_FOR_POSIX_KEYS(_keys, _key_value_pairs) \
(_Configure_Object_RAM(_keys, sizeof(POSIX_Keys_Control) ) \
+ _Configure_From_workspace( \
- _key_value_pairs * sizeof(POSIX_Keys_Key_value_pair)))
+ _Configure_Max_Objects(_key_value_pairs) \
+ * sizeof(POSIX_Keys_Key_value_pair)))
/*
* The rest of the POSIX threads API features are only available when