Correct auto-restart of syscalls via restartblock
This would for example be poll(2) Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
This commit is contained in:
parent
33874cb8cd
commit
33dc0ad78a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue