SCD_MSG_WAKE_UP_SYSCALL_THREAD: hold target thread through wake-up

Change-Id: I35b2c56f78430135b2d197d2a2cfe364dbd03947
This commit is contained in:
Balazs Gerofi
2020-04-20 20:28:26 +09:00
committed by Masamichi Takagi
parent 07537cd2e7
commit 3e254c06bf

View File

@@ -690,11 +690,11 @@ static int syscall_packet_handler(struct ihk_ikc_channel_desc *c,
ret = -EINVAL;
break;
}
thread_unlock(thread);
dkprintf("%s: SCD_MSG_WAKE_UP_SYSCALL_THREAD: waking up tid %d\n",
__FUNCTION__, packet->ttid);
waitq_wakeup(&thread->scd_wq);
thread_unlock(thread);
ret = 0;
break;