uti: Replace dead uti thread with new mcexec thread in proc->tids
Change-Id: Ic6e906dd1bfac1b07f1317732cbe0a5191831cd8
This commit is contained in:
@ -2391,7 +2391,7 @@ long
|
||||
mcexec_util_thread1(ihk_os_t os, unsigned long arg, struct file *file)
|
||||
{
|
||||
void **__user uparam = (void ** __user)arg;
|
||||
void *param[6];
|
||||
void *param[7];
|
||||
unsigned long p_rctx;
|
||||
unsigned long phys;
|
||||
void *__user u_rctx;
|
||||
@ -2401,7 +2401,7 @@ mcexec_util_thread1(ihk_os_t os, unsigned long arg, struct file *file)
|
||||
unsigned long free_size;
|
||||
unsigned long icurrent = (unsigned long)current;
|
||||
|
||||
if(copy_from_user(param, uparam, sizeof(void *) * 6)) {
|
||||
if(copy_from_user(param, uparam, sizeof(void *) * 7)) {
|
||||
return -EFAULT;
|
||||
}
|
||||
p_rctx = (unsigned long)param[0];
|
||||
@ -2422,6 +2422,7 @@ mcexec_util_thread1(ihk_os_t os, unsigned long arg, struct file *file)
|
||||
|
||||
((unsigned long *)rctx)[0] = free_address;
|
||||
((unsigned long *)rctx)[1] = free_size;
|
||||
((unsigned long *)rctx)[2] = (unsigned long)param[6];
|
||||
|
||||
#ifdef CONFIG_MIC
|
||||
iounmap(rctx);
|
||||
|
||||
Reference in New Issue
Block a user