summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi/include/confdefs.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2012-04-11 15:04:22 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2012-04-11 15:24:39 +0200
commit5eb434e67ed31111eb90b92cf75248f2ff9d1086 (patch)
tree4e4493d101058953149da482fb8344cb240721a2 /cpukit/sapi/include/confdefs.h
parentnios2: New functions (diff)
downloadrtems-5eb434e67ed31111eb90b92cf75248f2ff9d1086.tar.bz2
score: New macros and functions
New macros o _Objects_Maximum_per_allocation(), o rtems_resource_is_unlimited(), and o rtems_resource_maximum_per_allocation(). New function o _Objects_Is_unlimited().
Diffstat (limited to 'cpukit/sapi/include/confdefs.h')
-rw-r--r--cpukit/sapi/include/confdefs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h
index ab8e473789..d896c59e82 100644
--- a/cpukit/sapi/include/confdefs.h
+++ b/cpukit/sapi/include/confdefs.h
@@ -954,7 +954,7 @@ rtems_fs_init_functions_t rtems_fs_init_helper =
* for memory usage.
*/
#define _Configure_Max_Objects(_max) \
- ((_max) & ~RTEMS_UNLIMITED_OBJECTS)
+ rtems_resource_maximum_per_allocation(_max)
/**
* This macro accounts for how memory for a set of configured objects is