Move preempt_forbid_cnt to a more suitable place.
[bertos.git] / bertos / kern / proc.h
index d1525db7bd68e8be1a0ee3c2b6119c3fd342bb0c..afb9639f28b68a6c30decee00eae6f220dcc6977 100644 (file)
@@ -146,6 +146,7 @@ INLINE void proc_permit(void)
        #endif
 }
 
+extern int preempt_forbid_cnt;
 
 /**
  * Execute a block of \a CODE atomically with respect to task scheduling.