提交 33dc0ad7 编写于 作者: J Jesper Nilsson

Correct auto-restart of syscalls via restartblock

This would for example be poll(2)
Signed-off-by: NJesper Nilsson <jesper.nilsson@axis.com>
上级 33874cb8
......@@ -537,7 +537,7 @@ void do_signal(int canrestart, struct pt_regs *regs)
RESTART_CRIS_SYS(regs);
}
if (regs->r10 == -ERESTART_RESTARTBLOCK) {
regs->r10 = __NR_restart_syscall;
regs->r9 = __NR_restart_syscall;
regs->irp -= 2;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册