cobalt/thread: call dovetail_resume_inband instead of __ipipe_reenter_root
PATCH 2/2 cobalt/thread: call dovetail_resume_inband instead of __ipipe_reenter_root
resume inband on dovetail
Signed-off-by hongzha1 <[email protected]>
--- kernel/cobalt/thread.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/cobalt/thread.c +2 -2
@@ -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);
Signature · 1 line
2.17.1