diff --git a/include/proto/task.h b/include/proto/task.h index df9bc2ad2..34757f138 100644 --- a/include/proto/task.h +++ b/include/proto/task.h @@ -84,6 +84,7 @@ /* a few exported variables */ extern unsigned int nb_tasks; /* total number of tasks */ extern volatile unsigned long active_tasks_mask; /* Mask of threads with active tasks */ +extern volatile unsigned long global_tasks_mask; /* Mask of threads with tasks in the global runqueue */ extern unsigned int tasks_run_queue; /* run queue size */ extern unsigned int tasks_run_queue_cur; extern unsigned int nb_tasks_cur;