aboutsummaryrefslogtreecommitdiffstats
path: root/os/kernel
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-10-17 07:35:31 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-10-17 07:35:31 +0000
commitd61cb88dab424a8edcf3b2a06a0c7ea18890208a (patch)
tree7814c223941fff2cbfe20ae2de67836582839cdc /os/kernel
parent0c0d93a91e14e60c58148f65bde4d7f45a26c67c (diff)
downloadChibiOS-d61cb88dab424a8edcf3b2a06a0c7ea18890208a.tar.gz
ChibiOS-d61cb88dab424a8edcf3b2a06a0c7ea18890208a.tar.bz2
ChibiOS-d61cb88dab424a8edcf3b2a06a0c7ea18890208a.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1224 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/kernel')
-rw-r--r--os/kernel/src/chmemcore.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/kernel/src/chmemcore.c b/os/kernel/src/chmemcore.c
index 87ef6037a..4efc63e52 100644
--- a/os/kernel/src/chmemcore.c
+++ b/os/kernel/src/chmemcore.c
@@ -32,7 +32,7 @@
extern align_t __heap_base__;
extern align_t __heap_end__;
#else
-align_t buffer[ALIGN_SIZE(CH_MEMCORE_SIZE) / sizeof(align_t)];
+align_t buffer[MEM_ALIGN_SIZE(CH_MEMCORE_SIZE) / sizeof(align_t)];
#endif
static align_t *nextmem;
@@ -49,7 +49,7 @@ void core_init(void) {
endmem = &__heap_end__;
#else
nextmem = &buffer[0];
- endmem = &buffer[ALIGN_SIZE(CH_MEMCORE_SIZE) / sizeof(align_t)];
+ endmem = &buffer[MEM_ALIGN_SIZE(CH_MEMCORE_SIZE) / sizeof(align_t)];
#endif
}