projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
proc_test: use kernel dynamic memory if CONFIG_KERN_HEAP is enabled.
[bertos.git]
/
bertos
/
kern
/
proc.h
diff --git
a/bertos/kern/proc.h
b/bertos/kern/proc.h
index 8570d801edf39d017ee985ceb2f20187b2a0b6ab..c78735e89d2e54aa0c8e5c47fe4bfb33de28240d 100644
(file)
--- a/
bertos/kern/proc.h
+++ b/
bertos/kern/proc.h
@@
-363,7
+363,7
@@
INLINE struct Process *proc_current(void)
*/
#define PROC_DEFINE_STACK(name, size) \
cpu_stack_t name[((size) + sizeof(cpu_stack_t) - 1) / sizeof(cpu_stack_t)]; \
*/
#define PROC_DEFINE_STACK(name, size) \
cpu_stack_t name[((size) + sizeof(cpu_stack_t) - 1) / sizeof(cpu_stack_t)]; \
- STATIC_ASSERT((size) >= KERN_MINSTACKSIZE)
+ STATIC_ASSERT((size) >= KERN_MINSTACKSIZE)
;
/* Memory fill codes to help debugging */
#if CONFIG_KERN_MONITOR
/* Memory fill codes to help debugging */
#if CONFIG_KERN_MONITOR