mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 23:30:55 +07:00
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
@ -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 New Issue
Block a user