SCD_MSG_WAKE_UP_SYSCALL_THREAD: hold target thread through wake-up
Change-Id: I35b2c56f78430135b2d197d2a2cfe364dbd03947
This commit is contained in:
committed by
Masamichi Takagi
parent
07537cd2e7
commit
3e254c06bf
@@ -690,11 +690,11 @@ static int syscall_packet_handler(struct ihk_ikc_channel_desc *c,
|
|||||||
ret = -EINVAL;
|
ret = -EINVAL;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
thread_unlock(thread);
|
|
||||||
|
|
||||||
dkprintf("%s: SCD_MSG_WAKE_UP_SYSCALL_THREAD: waking up tid %d\n",
|
dkprintf("%s: SCD_MSG_WAKE_UP_SYSCALL_THREAD: waking up tid %d\n",
|
||||||
__FUNCTION__, packet->ttid);
|
__FUNCTION__, packet->ttid);
|
||||||
waitq_wakeup(&thread->scd_wq);
|
waitq_wakeup(&thread->scd_wq);
|
||||||
|
thread_unlock(thread);
|
||||||
ret = 0;
|
ret = 0;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user