summaryrefslogtreecommitdiffstats
path: root/cpukit
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:03:10 +0200
commit492c95eee6935f4161acbbf1129e99c73d44d71f (patch)
treeb8b7649f494ec1bcf1491172e098a6f7655921a2 /cpukit
parent7d097c5c693e8330b14ae2c0a10854c909b73060 (diff)
downloadrtems-492c95eee6935f4161acbbf1129e99c73d44d71f.tar.bz2
confdefs: Fix POSIX keys configuration
Remove the OBJECTS_UNLIMITED_OBJECTS flag for the memory size configuration. Close #3105.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/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 e29111638a..b51d4efbfd 100644
--- a/cpukit/sapi/include/confdefs.h
+++ b/cpukit/sapi/include/confdefs.h
@@ -2480,7 +2480,8 @@ const rtems_libio_helper rtems_fs_init_helper =
#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