monitor_debug_stacks(): Conditionally compile on CONFIG_KERN_MONITOR.
authorbernie <bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 24 Aug 2004 14:26:57 +0000 (14:26 +0000)
committerbernie <bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 24 Aug 2004 14:26:57 +0000 (14:26 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@152 38d2e660-2303-0410-9eaa-f027e97ec537

kern/proc.c

index e0c2ba27858af55069edcde9211e6c90268815ee..74ba6151f167b45632757db513b4ec21f22c7ae1 100755 (executable)
@@ -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