From 351c14dfd00e1bdaced2823242532cab4bccb58c Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 27 Sep 2016 11:33:36 +0200 Subject: score: Add new SMP scheduler helping protocol Update #2556. --- cpukit/score/include/rtems/score/percpu.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'cpukit/score/include/rtems/score/percpu.h') diff --git a/cpukit/score/include/rtems/score/percpu.h b/cpukit/score/include/rtems/score/percpu.h index cb28cd98c4..3e0c348005 100644 --- a/cpukit/score/include/rtems/score/percpu.h +++ b/cpukit/score/include/rtems/score/percpu.h @@ -23,6 +23,7 @@ #include #else #include + #include #include #include #include @@ -394,6 +395,13 @@ typedef struct Per_CPU_Control { SMP_lock_Stats_context Lock_stats_context; #endif + /** + * @brief Chain of threads in need for help. + * + * This field is protected by the Per_CPU_Control::Lock lock. + */ + Chain_Control Threads_in_need_for_help; + /** * @brief Bit field for SMP messages. * -- cgit v1.2.3