um: pull interrupt_end() into userspace()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Richard Weinberger <richard@nod.at>
此提交包含在:
@@ -347,6 +347,9 @@ void userspace(struct uml_pt_regs *regs)
|
||||
/* To prevent races if using_sysemu changes under us.*/
|
||||
int local_using_sysemu;
|
||||
|
||||
/* Handle any immediate reschedules or signals */
|
||||
interrupt_end();
|
||||
|
||||
if (getitimer(ITIMER_VIRTUAL, &timer))
|
||||
printk(UM_KERN_ERR "Failed to get itimer, errno = %d\n", errno);
|
||||
nsecs = timer.it_value.tv_sec * UM_NSEC_PER_SEC +
|
||||
|
新增問題並參考
封鎖使用者