uti: Streamline syscall_backward()

This commit is contained in:
Masamichi Takagi
2018-09-04 18:00:59 +09:00
parent 4b3e58fd3d
commit 439dc0928b
2 changed files with 1 additions and 15 deletions

View File

@ -446,20 +446,8 @@ retry_alloc:
syscall_ret = -EIO;
goto out;
}
#define PAGER_REQ_RESUME 0x0101
else if (req->args[0] != PAGER_REQ_RESUME) {
resp->ret = pager_call(usrdata->os, (void *)req);
if (__notify_syscall_requester(usrdata->os, packet, resp) < 0) {
printk("%s: WARNING: failed to notify PID %d\n",
__FUNCTION__, packet->pid);
}
mb();
}
else {
*ret = req->args[1];
}
*ret = req->args[1];
kfree(wqhln);
syscall_ret = 0;