Skip to contentSkip to conversation

cobalt/thread: call dovetail_resume_inband instead of __ipipe_reenter_root

PATCH New hongzha1 1 participant 1 message Oct 29, 2020

lore
Share & tools
lore

hongzha1

author
#0 lore raw

PATCH 2/2 cobalt/thread: call dovetail_resume_inband instead of __ipipe_reenter_root

resume inband on dovetail

---
 kernel/cobalt/thread.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/cobalt/thread.c +2 -2
index e2a215703..fc29cc521 100644
@@ -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