mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
CRIS: v32: Correct auto-restart of syscalls
Register number was incorrect in syscalls that go via the restartblock (e.g, poll). Signed-off-by: Edgar Iglesias <[email protected]> Signed-off-by: Jesper Nilsson <[email protected]>
This commit is contained in:
parent
e281a31e1c
commit
399233265c
1 changed files with 1 additions and 1 deletions
|
|
@ -587,7 +587,7 @@ do_signal(int canrestart, struct pt_regs *regs)
|
|||
}
|
||||
|
||||
if (regs->r10 == -ERESTART_RESTARTBLOCK){
|
||||
regs->r10 = __NR_restart_syscall;
|
||||
regs->r9 = __NR_restart_syscall;
|
||||
regs->erp -= 2;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue