aboutsummaryrefslogtreecommitdiffstats
path: root/os/kernel/include/memcore.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-02-16 19:21:42 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-02-16 19:21:42 +0000
commit0c85d7906646524a75121867ba02dd1bb809cd21 (patch)
treee47f6a218a4ebc0eef1fe9d60e7eadf4ef9ab6ff /os/kernel/include/memcore.h
parentb8e3f8794e1d3437ceb0b5a10226887b391e0c7b (diff)
downloadChibiOS-0c85d7906646524a75121867ba02dd1bb809cd21.tar.gz
ChibiOS-0c85d7906646524a75121867ba02dd1bb809cd21.tar.bz2
ChibiOS-0c85d7906646524a75121867ba02dd1bb809cd21.zip
Tentative fix for bug 2952961.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1619 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/kernel/include/memcore.h')
-rw-r--r--os/kernel/include/memcore.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/os/kernel/include/memcore.h b/os/kernel/include/memcore.h
index 9fc8d7a44..c0aa9c9a2 100644
--- a/os/kernel/include/memcore.h
+++ b/os/kernel/include/memcore.h
@@ -29,11 +29,6 @@
#define _MEMCORE_H_
/**
- * @brief Memory alignment type.
- */
-typedef void *align_t;
-
-/**
* @brief Memory get function.
* @note This type must be assignment compatible with the @p chMemAlloc()
* function.
@@ -43,7 +38,7 @@ typedef void *(*memgetfunc_t)(size_t size);
/**
* @brief Alignment mask constant.
*/
-#define MEM_ALIGN_MASK (sizeof(align_t) - 1)
+#define MEM_ALIGN_MASK (sizeof(stkalign_t) - 1)
/**
* @brief Alignment helper macro.