[rtems commit] confdefs: Fix POSIX keys configuration
Sebastian Huber
sebh at rtems.org
Tue Aug 22 14:13:45 UTC 2017
Module: rtems
Branch: 4.11
Commit: 492c95eee6935f4161acbbf1129e99c73d44d71f
Changeset: http://git.rtems.org/rtems/commit/?id=492c95eee6935f4161acbbf1129e99c73d44d71f
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Tue Aug 22 08:00:48 2017 +0200
confdefs: Fix POSIX keys configuration
Remove the OBJECTS_UNLIMITED_OBJECTS flag for the memory size
configuration.
Close #3105.
---
cpukit/sapi/include/confdefs.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h
index e291116..b51d4ef 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
More information about the vc
mailing list