From: hongzha1 Subject: [PATCH 2/2][wip/dovetail] cobalt/thread: call dovetail_resume_inband instead of __ipipe_reenter_root Date: Thu, 29 Oct 2020 04:04:44 -0400 Message-Id: <20201029080444.10950-2-hongzhan.chen@intel.com> List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org, jan.kiszka@siemens.com resume inband on dovetail Signed-off-by: hongzha1 --- kernel/cobalt/thread.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/cobalt/thread.c b/kernel/cobalt/thread.c index e2a215703..fc29cc521 100644 --- a/kernel/cobalt/thread.c +++ b/kernel/cobalt/thread.c @@ -2140,8 +2140,8 @@ void xnthread_relax(int notify, int reason) "xnthread_relax() failed for thread %s[%d]", thread->name, xnthread_host_pid(thread)); -#warning TODO: nothing to be done? - //__ipipe_reenter_root(); + /* Please refer to evl_switch_inband */ + dovetail_resume_inband(); /* Account for secondary mode switch. */ xnstat_counter_inc(&thread->stat.ssw); -- 2.17.1