Skip to contentSkip to conversation

cobalt/thread: call dovetail_leave_inband to replace __ipipe_migrate_head

PATCH New hongzha1 1 participant 1 message Oct 29, 2020

lore
Share & tools
lore

hongzha1

author
#0 lore raw

PATCH 1/2 cobalt/thread: call dovetail_leave_inband to replace __ipipe_migrate_head

leave inband on dovetail

---
 kernel/cobalt/thread.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/cobalt/thread.c +2 -2
index 7a6139142..e2a215703 100644
@@ -1950,8 +1950,8 @@ int xnthread_harden(void)
 
 	xnthread_clear_sync_window(thread, XNRELAX);
 
-#warning TODO
-	ret = 0;//__ipipe_migrate_head();
+	/* Please refer to evl_switch_oob */
+	ret = dovetail_leave_inband();
 	if (ret) {
 		xnthread_test_cancel();
 		xnthread_set_sync_window(thread, XNRELAX);
Signature · 1 line
2.17.1