uti: Fix wrong argument passed to ihk_ikc_release_packet() in mcexec_terminate_thread()
Conflicts: executer/kernel/mcctrl/control.c
This commit is contained in:
@@ -2471,7 +2471,9 @@ mcexec_terminate_thread(ihk_os_t os, unsigned long *param, struct file *file)
|
|||||||
mcctrl_delete_per_thread_data(ppd, tsk);
|
mcctrl_delete_per_thread_data(ppd, tsk);
|
||||||
__return_syscall(usrdata->os, packet, param[2], tid);
|
__return_syscall(usrdata->os, packet, param[2], tid);
|
||||||
ihk_ikc_release_packet((struct ihk_ikc_free_packet *)packet,
|
ihk_ikc_release_packet((struct ihk_ikc_free_packet *)packet,
|
||||||
(usrdata->channels + packet->ref)->c);
|
(usrdata->ikc2linux[smp_processor_id()] ?
|
||||||
|
usrdata->ikc2linux[smp_processor_id()] :
|
||||||
|
usrdata->ikc2linux[0]));
|
||||||
err:
|
err:
|
||||||
if(ppd)
|
if(ppd)
|
||||||
mcctrl_put_per_proc_data(ppd);
|
mcctrl_put_per_proc_data(ppd);
|
||||||
|
|||||||
Reference in New Issue
Block a user