cobalt/thread: call dovetail_leave_inband to replace __ipipe_migrate_head
PATCH 1/2 cobalt/thread: call dovetail_leave_inband to replace __ipipe_migrate_head
leave 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
@@ -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