From: bernie Date: Tue, 24 Aug 2004 14:26:57 +0000 (+0000) Subject: monitor_debug_stacks(): Conditionally compile on CONFIG_KERN_MONITOR. X-Git-Tag: 1.0.0~1089 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=f2d3a3f1b413d468142830b9dc7a088e1d3e7afb;p=bertos.git monitor_debug_stacks(): Conditionally compile on CONFIG_KERN_MONITOR. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@152 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/kern/proc.c b/kern/proc.c index e0c2ba27..74ba6151 100755 --- a/kern/proc.c +++ b/kern/proc.c @@ -17,6 +17,9 @@ /* * $Log$ + * Revision 1.9 2004/08/24 14:26:57 bernie + * monitor_debug_stacks(): Conditionally compile on CONFIG_KERN_MONITOR. + * * Revision 1.8 2004/08/14 19:37:57 rasky * Merge da SC: macros.h, pool.h, BIT_CHANGE, nome dei processi, etc. * @@ -146,6 +149,8 @@ size_t monitor_check_stack(cpustack_t* stack_base, size_t stack_size) return sp_free; } +#if CONFIG_KERN_MONITOR + void monitor_debug_stacks(void) { struct Process* p; @@ -171,6 +176,8 @@ void monitor_debug_stacks(void) } } +#endif /* CONFIG_KERN_MONITOR */ + #endif