summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi/include/confdefs.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2011-09-09 11:02:03 +0000
committerSebastian Huber <sebastian.huber@embedded-brains.de>2011-09-09 11:02:03 +0000
commit5817297df3286347d17e358ab81bf4781812bf36 (patch)
treea9ea68cfc530560928d55404eac8a944b568ed96 /cpukit/sapi/include/confdefs.h
parent2011-09-09 Sebastian Huber <sebastian.huber@embedded-brains.de> (diff)
downloadrtems-5817297df3286347d17e358ab81bf4781812bf36.tar.bz2
2011-09-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1873/cpukit * score/include/rtems/score/heap.h: Revert previous commit. * sapi/include/confdefs.h: Use proper constants in _Configure_From_workspace().
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 a342bab46d..3ecc60941d 100644
--- a/cpukit/sapi/include/confdefs.h
+++ b/cpukit/sapi/include/confdefs.h
@@ -867,7 +867,7 @@ rtems_fs_init_functions_t rtems_fs_init_helper =
* may be applied.
*/
#define _Configure_From_workspace(_size) \
- (ssize_t)((_size) + (2 * sizeof(uint32_t)) + CPU_ALIGNMENT)
+ (ssize_t)((_size) + HEAP_BLOCK_HEADER_SIZE + CPU_HEAP_ALIGNMENT - 1)
/**
* Do not use the unlimited bit as part of the multiplication